we have to have a column for the target property to use it as a PropertySortDescriptor?

1 Answer 88 Views
DataGrid
Scofield
Top achievements
Rank 2
Iron
Iron
Iron
Scofield asked on 08 Mar 2023, 05:59 PM

Hi there,

We did some investigating about PropertySortDescriptor, it seems that we need target 'sort column' be a part of our grid columns, we tried it in Telerik sample project and it will give no response without the target 'sort column'.

we also noticed the following document say: PropertySortDescriptor sorts by a defined key, which is a property from the model. so we would like to confirm that we have to have a column for that property to use it as a property sort descriptor, right?

The difference between the DelegateSortDescriptor and the PropertySortDescriptor is that the DelegateSortDescriptor sorts data by a custom key, while the PropertySortDescriptor sorts by a defined key, which is a property from the model.

 .NET MAUI DataGrid Documentation - Sorting - Telerik UI for .NET MAUI

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 09 Mar 2023, 06:48 AM

Hello Scofield, 

You have already opened the same question in the forum. Please review the forum thread here: https://www.telerik.com/forums/we-have-to-have-a-column-for-target-property-to-use-it-as-a-property-sort-descriptor and my reply: https://www.telerik.com/forums/we-have-to-have-a-column-for-target-property-to-use-it-as-a-property-sort-descriptor#5624957 

Regards,
Didi
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
DataGrid
Asked by
Scofield
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or