We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Suppress Grid Footer

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.

5 Replies 1 reply marked as answer

SP Sarveswaran Palani Syncfusion Team April 11, 2023 04:16 AM UTC

Hi Phil,

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.

The above requested details will be helpful to validate further at our end and provide solution as earlier as possible.


PH Phil Holmes April 14, 2023 11:09 AM UTC

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.

SP Sarveswaran Palani Syncfusion Team April 19, 2023 03:22 AM UTC

Hi Phil,

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.


Attachment: SfGridFooterAggregates_b11b3640.zip

Marked as answer

PH Phil Holmes April 19, 2023 03:45 AM UTC

Awesome. Thanks!

Exactly what I was after.


SP Sarveswaran Palani Syncfusion Team April 21, 2023 03:30 AM UTC

Thanks for an update.

We'll currently close this ticket. Please get back to us, if you have any further queries.



Live Chat Icon For mobile
Up arrow icon