When exporting a grid with groups which have group count with it. The exported excel doesn't contain the group count. Is there a way to export with the group count?
When exporting a grid with groups which have group count with it. The exported excel doesn't contain the group count. Is there a way to export with the group count?
You can easily do that by modifying the group header content in processRowGroupCallback. Here is all of the export options for reference.
gridApi.exportDataAsExcel({
processRowGroupCallback: (params) => {
const { node } = params;
return `${node.key} (${node.allChildrenCount})`;
}
});