This is a migrated thread and some comments may be shown as answers.

Fire event on column-group reorder

1 Answer 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 18 Sep 2018, 05:23 AM

Hi there,

I've used Telerik grid inside an application.

I wanna to do something when the user changes the order of column groups (column group 1 and column group 2) by dragging them using a mouse. but I didn't find any solution for this.

 

So is there any event to detect reorder change for "column group"? 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 Sep 2018, 08:34 AM
Hello, Muhammad,  

According to the provided screenshot, it seems that you use ColumnGroupsViewDefinition in RadGridView. In order to detect when you reorder the groups you can handle the ColumnGroupsViewDefinition.ColumnGroups.CollectionChanged. The NotifyCollectionChangedEventArgs gives you information about the performed action and the new items that are available. It may be suitable for your scenario. 
 
I hope this information helps. 

Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or