![]() |
sponsored links |
|
|
sponsored links
|
|
1
26th June 15:07
External User
Posts: 1
|
I have a Collection that inherits from CollectionBase and Implements IBindingList which I have bound
to a DataGrid. So far everything works fine. However, I am missing one piece to the IBindingList that I haven't figured out yet, how to determine which DataGrid column header I clicked on so I can do a custom sort. Right now the sort is rotating just to see that everything works. There are two pieces of the IBindingList that I didn't know what to do with PropertyDescriptor returned from IBindingList.SortProperty ListChanged What is the intent of these two items? I have attached a small demo app that I have been working with. As a side note, I haven't been able to get the DataGridTableStyle to work either. The IBindingList implementation is in MyCollection.cs The DataGridTableStyle implementation is in Form1.cs Any thoughts are appreciated. Dave DavidElliott@BellSouth.net |
|
|