This is a migrated thread and some comments may be shown as answers.

Hide group aggregates and footer for specific grouping

1 Answer 317 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Janis
Top achievements
Rank 1
Janis asked on 24 Jul 2020, 12:06 AM

When you have nested groupings and have aggregates on some of the columns, is there a way to only show aggregates on a specific level of grouping? I did find this example for jQuery where the footer is hidden by changing the CSS class based on the number of records, but this did not work for me. Is there any way to find out the grouping title and only show aggregates based on that?

See attached picture - I am wanting to only show the inner-most level of aggregates with the green check mark and remove the rows marked in red.

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 27 Jul 2020, 12:49 PM

Hi Janis,

Thank you for the provided details.

Indeed, there isn't such built-in feature that would allow to remove the generated rows with the aggregates. However, what could be done as a workaround is to use some custom JavaScript in order to remove the not necessary rows based on some custom approach. Please check the following public feature request item that demonstrates such custom approach:

https://feedback.telerik.com/kendo-angular-ui/1440989-remove-group-footer-and-header-templates-when-one-record-is-in-the-group

In case further assistance is required for this case, please provide a runnable example demonstrating the reported behavior. That will help us to get a better understanding of the specific use - case scenario by inspecting the code and we will try to suggest some more specific feedback. Thank you.

Regards,
Svetlin
Progress Telerik

Tags
Grid
Asked by
Janis
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or