Declined
Last Updated: 30 Dec 2020 13:25 by ADMIN
Holyhehe
Created on: 12 Dec 2020 09:08
Category: Kendo UI for jQuery
Type: Feature Request
0
sort grouped headers by sum value

Hi all,

I would like to request a feature by enabling sorting of grouped headers only by the sum of values in a specified column.

Thank you.

3 comments
ADMIN
Veselin Tsvetanov
Posted on: 30 Dec 2020 13:25

Hello,

Here you will find a small Dojo sample that demonstrates how grouping is first cleared in a Kendo Grid and then reset:

https://dojo.telerik.com/EZoYuRIS

Attached you will find a short video demonstrating how the previous state of grouping is properly returned to the Grid.

Do you observe different behavior at your end? If yes, could you, please, prepare and send me a Dojo sample demonstrating the issue in question?

Looking forward to hearing from you.

Regards,
Veselin Tsvetanov
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/.

Attached Files:
Holyhehe
Posted on: 24 Dec 2020 14:47

Hi Veselin,

 

I am not able to trigger the columns.groupable.sort.compare function programmatically. I have tried resetting the group by calling dataSource.group([]) then regroup using dataSource.group(groups) where groups =  dataSource.group(); before resetting the group to an empty array. Any advice on a workaround or solution to the problem? Thank you. 

ADMIN
Veselin Tsvetanov
Posted on: 18 Dec 2020 11:12

Hi,

The requested could be achieved by implementing a custom group.compare function. Here is the API reference and a short example demonstrating how to implement the desired:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.groupable.sort.compare

Regards,
Veselin Tsvetanov
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/.