Reputation: 329
Is there a way to hide the row count in the aggregated rows in ag-grid? I couldn't find any specific configuration to hide the row count appearning beside the aggregated cell.
Upvotes: 8
Views: 9760
Reputation: 5839
The last two answers do not seem to work in v25 of the ag-Grid.
See this page: https://www.ag-grid.com/javascript-grid/grouping/
The solution for me is to use the autoGroupColumnDef
like the following:
autoGroupColumnDef: {
cellRendererParams: {
suppressCount: true
}
}
Upvotes: 10
Reputation: 4173
When using gridOptions.groupUseEntireRow = true
you can set it with
gridOptions.groupRowRendererParams = {
suppressCount: true
};
Upvotes: 7
Reputation: 5113
You can use suppressCount
within cellRendererParams
cellRendererParams: {
suppressCount: true, // turn off the row count
}
Upvotes: 7