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.
You can use suppressCount
within cellRendererParams
cellRendererParams: {
suppressCount: true, // turn off the row count
}
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
}
}
When using gridOptions.groupUseEntireRow = true
you can set it with
gridOptions.groupRowRendererParams = {
suppressCount: true
};
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With