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.

GGC GridGroupDropArea events

Thread ID:

Created:

Updated:

Platform:

Replies:

53759 Dec 19,2006 06:29 PM Dec 20,2006 10:52 AM Windows Forms 2
loading
Tags: GridControl
Doug
Asked On December 19, 2006 06:29 PM

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 19, 2006 11:42 PM

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 10:52 AM

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.

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.

;