Last Updated: 09 Oct 2020 12:37 by ADMIN
Luis Henrique
Created on: 02 Oct 2020 13:22
Category: GridView
Type: Feature Request
GridView: Add SortMember property for GroupDescriptor to allow setting group sorting in xaml


I have often faced a scenarion where I have groups (GroupDescriptor), but those groups need to be ordered by a different property.

Usually, telerik column properties already provide a SortMemberPath.

<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" SortMemberPath="Id"

However, the GroupDescriptor does not have that, it only has Member and SortDirection.

The only way to set the sort to refer another property is in code behind using a generic group descriptor. It is very flexible, but it has several drawbacks, since now I'd have to declare everything in C# (aggregate functions, templates, etc) and also lose the Design time feedback from Visual Studio.

My request is to just have the possibility to set a SortMember in XAML which will work for most scenarios, same way as others components already do.

<telerik:GroupDescriptor Member="OrderState" SortDirection="Ascending"
                                         SortMember="OrderStateIndex" >



1 comment
Martin Ivanov
Posted on: 09 Oct 2020 12:37

Hello Luis,

Thank you for the feedback. We've approved the item and updated its title a bit in order to match our items naming convention.

Martin Ivanov
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/.