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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

event column removed / moved

Thread ID:

Created:

Updated:

Platform:

Replies:

119345 Jun 8,2015 06:20 PM UTC Jun 9,2015 06:38 AM UTC WinForms 1
loading
Tags: GridGroupingControl
Felipe Bahiana Almeida
Asked On June 8, 2015 06:20 PM UTC

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 06:38 AM UTC

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.

Warning Icon 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.Close Icon

;