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

GGC GridGroupDropArea events

Thread ID:

Created:

Updated:

Platform:

Replies:

53759 Dec 19,2006 11:29 PM UTC Dec 20,2006 03:52 PM UTC WinForms 2
loading
Tags: GridControl
Doug
Asked On December 19, 2006 11:29 PM UTC

Are there events raised when the user adds and removes a column from the GridGroupDropArea?

I would like to know what Group is being created or removed.

thanks,
Doug

Administrator [Syncfusion]
Replied On December 20, 2006 04:42 AM UTC

Hi Doug,

Try handling the TableDescriptor.GroupedColumns.Changing event of the gridgroupingcontrol. This will help you.

private void GroupedColumns_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
SortColumnDescriptor scd = e.Item as SortColumnDescriptor;

if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
Console.WriteLine("Column Added - {0}", scd.Name);

if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Remove)
Console.WriteLine("Column Removed - {0}", scd.Name);
}

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On December 20, 2006 03:52 PM UTC

Excellent - thanks!

Doug

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;