So I am running into an issue where the content of the listview may be updated or changed, but the sorting does not reflect the changes. Is there a way trigger the listview to resort the list without clearing the sorting descriptors and adding them back?
1 Answer, 1 is accepted
0
Accepted
Yana
Telerik team
answered on 07 Aug 2024, 07:52 AM
Hi Luke,
Indeed, the sorting is not updated when the ListView data is modified. I am afraid the approach is the one you've already tried - updating the SortDescriptors collection of the ListView.
The SortDescriptors collection supports binding, so you can modify the sort descriptors directly from the ViewModel, take a look at the example showing the approach here: ListView: Bindable Sort Descriptors.