We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

event column removed / moved

Thread ID:

Created:

Updated:

Platform:

Replies:

119345 Jun 8,2015 02:20 PM Jun 9,2015 02:38 AM Windows Forms 1
loading
Tags: GridGroupingControl
Felipe Bahiana Almeida
Asked On June 8, 2015 02:20 PM

I would like to know which events to handle when I want to know if one column was removed from the grid (by dragging it out of grid area) or when columns change position (by dragging from one position to another).

Solai A L [Syncfusion]
Replied On June 9, 2015 02:38 AM

Hi Felipe,

Thank you for using Syncfusion products.

You can use VisibleColumns Changed/Changing events to handle when one column was removed from the grid/position changed. Please refer the below code snippet and KB’s and forum links for further clarification.

Code Snippet[c#]:

this.gridGroupingControl1.TableDescriptor.VisibleColumns.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(VisibleColumns_Changed);

this.gridGroupingControl1.TableDescriptor.VisibleColumns.Changing += new Syncfusion.Collections.ListPropertyChangedEventHandler(VisibleColumns_Changing);


Reference links:
http://www.syncfusion.com/forums/51585/colsmoved-event-doesnt-fire-for-gridgroupingcontrol

http://www.syncfusion.com/forums/69246/gridgroupingcontrol-drag-and-drop

https://www.syncfusion.com/forums/94064/allow-user-to-drag-column-from-gridgroupingcontrol-to-remove-from-table

Please let us know if you have any other concerns.

Thanks & Regards,
AL.Solai


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;