Dynamically Bind SortDirection and Parameter

Is it possible to dynamically bind the PropertyName and/or Direction for 
                <data:DataSource>
                    <data:DataSource.SortDescriptors>
                        <data:SortDescriptor PropertyName="ContactName" Direction="Ascending"/>
                    </data:DataSource.SortDescriptors>
                </data:DataSource>
            </sync:SfListView.DataSource>
<data:SortDescriptor PropertyName="{Binding SortProperty}" Direction="{Binding SortDirection}"/>

doesn't seem to work?! 
Is it something that could be considered as Feature request?

1 Reply 1 reply marked as answer

SS SaiGanesh Sakthivel Syncfusion Team September 22, 2020 01:01 PM UTC

Hi Michael,  
  
Thank you for contacting syncfusion support.  
  
We have checked the reported query “Dynamically Bind SortDirection and Parameter” from our end. We regret to let you know that the Property Name and Direction are given as object type in the source level and it is not a bindable property type to do binding in XAML. You can directly set the values in XAML. 
  
Regards,  
SaiGanesh Sakthivel

Marked as answer
Loader.
Up arrow icon