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

Any way to sort grouped GridView by group headers

1 Answer 121 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mustafa Erhan
Top achievements
Rank 1
Mustafa Erhan asked on 18 Aug 2020, 08:22 AM

Hi,

 

I have a grouped GridView, which have many aggregate functions attached. Group headers showing some of the aggregate function results. 

When the user clicks a column header she expects grid to sort by aggregate results by group headers but the grid sorting by the original data source without group. This confuses our users.

 

Is there a way to sort gridview by group header aggregate results ? 

 

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 21 Aug 2020, 07:26 AM

Hi Mustafa,

It is indeed possible to sort the grouped RadGridView by one of its aggregates and luckily we have an example which demonstrates how this can be achieved.

Please have a look at the Sort Group By Aggregate demo from our SDK Samples Browser and let me know if you find it helpful.

Regards,
Dilyan Traykov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Mustafa Erhan
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or