Sorting colums bound to indexed property

Hello,

We are using SfTreeGrid to show tabular view of objects, whose property values are accessed using indexed property, eg.

<syncfusion:TreeGridTextColumn HeaderText="Name" DisplayBinding="{Binding Path=Value[Name]}"/>

This works perfectly for displaying and editing property values, but unfortunately sorting does not seem to work. Sorting works when binding to an actual property, but in our case the columns are defined in application settings and thus we cannot use hard-coded property names in our data model. Any hints?

Please see the attached demo project for details.

Attachment: SfTreeGridTest_e5535152.7z

6 Replies

SJ Sathiyathanam Jeyakumar Syncfusion Team December 31, 2020 03:44 PM UTC

Hi Heikki,   
 
We are able to reproduce the reported sorting problem and currently we validating this from our end. We will check and update with further details on January 5,  2021. We appreciate your patience until then.    
 
Regards,   
Sathiyathanam  
 



VS Vijayarasan Sivanandham Syncfusion Team January 5, 2021 02:34 PM UTC

Hi Heikki,

Sorry for the inconvenience.   

We are still working on this. We will update with further details on January 07, 2021. We appreciate your patience and understanding.

Regards,
Vijayarasan S
 



VS Vijayarasan Sivanandham Syncfusion Team January 7, 2021 01:46 PM UTC

Hi Heikki, 
Sorry for the inconvenience caused.

We are trying to achieve your requirement” Sorting colums bound to indexed propertyin SfTreeGrid”. but we get some technical issue based on our source architecture. So, we are checking the feasibility to achieve your requirement. We will validate and update you the details on January 11, 2021.

We appreciate your patience until then.

Regards,
Vijayarasan S


 



VS Vijayarasan Sivanandham Syncfusion Team January 11, 2021 04:24 PM UTC

Hi Heikki, 
Sorry for the inconvenience caused.

We are trying to achieve your requirement” Sorting colums bound to indexed propertyin SfTreeGrid”. but we get some technical issue based on our source architecture. So, we are checking the feasibility to achieve your requirement. We will validate and update you the details on January 13, 2021.

We appreciate your patience until then.

Regards,
Vijayarasan S

 



HL Heikki Leivo January 12, 2021 01:43 PM UTC

Thank you for your feedback. As a workaround we have created a hack by creating "enough" hard-coded properties, eg. Prop1, Prop2 etc, so we can proceed with the current version. Therefore this is now more like a nuisance, but it would be great if you manage to fix this.


VS Vijayarasan Sivanandham Syncfusion Team January 13, 2021 05:21 PM UTC

Hi Heikki Leivo, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊. 
 
Regards, 
Vijayarasan S 


Loader.
Up arrow icon