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

How to sort grid groups by group's elements count?

3 Answers 248 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jianxun
Top achievements
Rank 1
Jianxun asked on 12 Jun 2014, 06:01 AM
http://demos.telerik.com/kendo-ui/grid/aggregates

here i see an example for grid grouping. Now I want to sort the groups by the aggregate count.  I search the help document and only find sorting settings like "dir: 'desc'", which can only sort groups by field value, not the count of group elements. 

Can someone tell me how to set the configuration to make grid groups sorted by element count?

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 16 Jun 2014, 06:21 AM
Hello Jianxun,

There isn't such feature. DataSource can only operate over the data available in the data() collection, which is the actual data not calculated aggregates.

Regards,
Nikolay Rusev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
mkallo
Top achievements
Rank 1
answered on 04 Oct 2018, 10:36 AM

Hello,

I would like to know it above mentioned feature is still not available or it has been implemented in the meantime.

Thank you.

0
Viktor Tachev
Telerik team
answered on 05 Oct 2018, 12:13 PM
Hi,

The feature is currently not available, however, the developers are working on implementing an enhancement that will address this requirement. You can monitor the GitHub issue below for an up-to-date status of the feature.



Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Jianxun
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
mkallo
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or