I am using groupBy in ngTable, but now I need a further level of grouping in the table:
$scope.tableParams = new ngTableParams({
count: 100,
sorting: {
PremiumElementGroup: 'desc',
PremiumElement: 'desc',
LegalEntity: 'asc',
SettlementCurrency: 'asc'
}
}, {
counts: [],
groupBy: 'PremiumElementGroup' <--- only allows one level of grouping...
, getData: function ($defer, params) {
var orderedData = $filter('orderBy')($scope.section.PremiumCessionOverrides, params.orderBy());
$defer.resolve(orderedData);
}
});
Is there something I can do to achieve what I want? Or another grid tool I could use?
groupBy
property? – Janeanjaneczka