I try to make the option select column with xceed DataGridControl.
I want to know if I can get the clicked column header without make the sorting option.
Now to get the clicked column I use the code:
DataGridCollectionView view = grid.ItemsSource as DataGridCollectionView; ((INotifyCollectionChanged)view.SortDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(this.SortCollectionChanged);
Imported from legacy forums. Posted by Nirit (had 1954 views)