This is a migrated thread and some comments may be shown as answers.

RadGridView SortMemberPath does not update dynamically?

1 Answer 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 20 Jun 2011, 04:39 AM
When setting the RadGridView.SortMemberPath = "SomeMemberName", when the model object raises an INotifyPropertyChanged for SomeMemberName, the grid doesn't seem to re-sort.

Is this the expected behavior?

I'm trying to display dynamically updated data in the grid, where I want to sort the column on some arbitrary member property in the model (e.g. display CPU history in a column and sort on the 10 second average).

How can I make sure that the grid automatically re-sorts when a member in the model is updated?

Thanks,
Alex

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 20 Jun 2011, 06:47 AM
Hello,

 The grid will re-apply sorting, filtering, grouping, aggregates, etc only on CollectionChanged event - not on PropertyChanged. 

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Alex
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or