This project has moved. For the latest updates, please go here.

DatagridControl: Sort update on content proprety change

May 25, 2013 at 2:14 PM
Hi,

I am trying to get the content of my datagrid sorted on a property changed event of one of the object contained in the grid. e.g. a simple timestamp.

The objects implement INotifyPropertyChanged and publish the notification when the property if modified.
Objects are stored in a Sortable BindingList, inherited from BindingList.

Sadly the datagrid is not updating the sort when the property is modified.

Am I missing something ?

Thanks in advance.
May 25, 2013 at 3:13 PM
Ok, I was indeed missing something ... Encapsulating my BindingList in a DataGridCollectionViewSource solved my problem !