I have a grid, with grouping and aggregates. The aggregates are displayed as desired in the group headers, BUT they are also displayed in group footers, which I am sure some people would want, but I do not.
Is it possible to suppress display of the group footers entirely, so that with the aggregates already in the group headers, the output is a nice clean group headers and detail only. No additional footers.
Greetings from Syncfusion support.
Before proceeding further with your requirement kindly share the below details to validate further at our end.
1. In which way, you set the group aggregates in header?
2. Are use any JS solution to achieve this?
3. Share code snippet and model class.
4. Share simple issue reproducible runnable sample to us.
above requested details will be helpful to validate further at our end and
provide solution as earlier as possible.
Not sure why you're asking all this. I'm just using the standard functionality, and the aggregates are generated via documented code format for SfGrid:
<GridAggregateColumn Field=@nameof(se.Return) Type="AggregateType.Average" Format="P2" />
<GridAggregateColumn Field=@nameof(se.ActiveReturn) Type="AggregateType.Average" Format="P2" />
No JS, just a bound grid to ODataV4 source, and using GridAggregates, but I don't see anywhere to control header and/or footer options.
From your query, we suspect that you want to remove the footer aggregates from the grid. We suggest you to include the below CSS style in your project to overcome the reported issue at your end. We have attached the code snippet and sample for your reference.
If issue still persist, kindly share an issue reproducible sample or reproduce the reported issue in the provided sample. It’ll be helpful for further evaluate your query and provide solution ASAP from our end.
Exactly what I was after.
Thanks for an update.
We'll currently close this ticket. Please get back to us, if you have any further queries.