Hi,
I am using RadControls for Silverlight 2010 Q1 SP1.
I have a grid with auto generated column. My ultimate goal is to save the columns order after the user made change to it (by drag and drop). I saw on another forum that there is no column order event so I added the following one on my grid :
Problem 1 : This event is fired for each column when building the grid (normal) but it is never fired after manually reordering the columns by the user.
Problem 2 : After reordering my columns, I had a look to the collection radGridViewControl.Columns in the debugger and I can see that the order in that collection is exactly the same as before. The collection didn't changed.
It seems that manually reordering a column only affects the front-end. I cannot see in any variable where my columns order changed. Can you help me on this one please and provide me the way to save (where to look at) these columns order changes ?
Cheers,
I am using RadControls for Silverlight 2010 Q1 SP1.
I have a grid with auto generated column. My ultimate goal is to save the columns order after the user made change to it (by drag and drop). I saw on another forum that there is no column order event so I added the following one on my grid :
radGridViewControl.Columns.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Columns_CollectionChanged); |
Problem 1 : This event is fired for each column when building the grid (normal) but it is never fired after manually reordering the columns by the user.
Problem 2 : After reordering my columns, I had a look to the collection radGridViewControl.Columns in the debugger and I can see that the order in that collection is exactly the same as before. The collection didn't changed.
It seems that manually reordering a column only affects the front-end. I cannot see in any variable where my columns order changed. Can you help me on this one please and provide me the way to save (where to look at) these columns order changes ?
Cheers,