Fire event on column-group reorder

2 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    2 posts
    Member since:
    Sep 2016

    Posted 18 Sep 2018 Link to this post

    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"? 

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3754 posts

    Posted 18 Sep 2018 Link to this post

    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. 

    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.
Back to Top