I reviewed the provided sample application and I would like to point out couple of suggestions. Firstly, please note that RadGridView is a virtualized data-bound control and implementing logic depending on the visibility of its elements is something that we do not recommend. Having this in mind, the current logic for binding the IsChecked
property of a CheckBox to the IsVisible
property of GridViewDataColumn should be performed on data level. You can take a look at the UI Virtualization
topic for more information.
As to your requirement, a possible approach would be to subscribe to the ColumnReordering
event of RadGridView and implement custom logic for reordering the items of the ListBox
Additionally, you can take a look at our documentation on DragDropManager
I hope this helps.
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?
Telerik Feedback Portal
and vote to affect the priority of the items