Unplanned
Last Updated: 24 Apr 2020 08:42 by ADMIN
lakshman
Created on: 02 Mar 2020 16:34
Category: Grid
Type: Feature Request
3
Group Header templates should expose aggregates for all the fields and allow you to align them with the columns

Hello,

Do you have any sample for custom group Header template.

 

e..g. To  calculate the value of the column based on the other fields.

3 comments
ADMIN
Marin Bratanov
Posted on: 03 Mar 2020 09:25

Hello,

I updated the title and moved this idea to our Feedback Portal so the community can weigh in on whether they want such a feature. You can click the Follow button on the following page to get notifications for status updates: https://feedback.telerik.com/blazor/1456063-group-header-templates-should-expose-aggregates-for-all-the-fields-and-allow-you-to-align-them-with-the-columns. At the moment, the group headers only provide the aggregates for their own field, and they are not tied to columns.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
lakshman
Posted on: 02 Mar 2020 17:52

Hello Marin, thanks for quick reply. I was looking for custom aggregate function...attached image.

 

Does Telerik Blazor grid support custom aggregate functions with groupings?

 

 

 

Attached Files:
ADMIN
Marin Bratanov
Posted on: 02 Mar 2020 16:53

Hi,

You can find examples of defining aggregates for the fields you want and using them in the group header in the following resources:

What's important is that a group is defined by the field it groups by, so it can only show aggregates for that particular field. The group header knows only about its particular field, the footers of individual columns can show data for the respective column. If you have the desired data elsewhere, you can render it in the header template like in any other render fragment.

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor