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.

Grap level of group

Thread ID:

Created:

Updated:

Platform:

Replies:

59754 Apr 20,2007 04:38 PM Apr 20,2007 05:13 PM Windows Forms 1
loading
Tags: GridControl
Ashok
Asked On April 20, 2007 04:38 PM

Hi I am using Syncfusion grouping grid , i am not able to grap level of group.

when i am draging group in group area at that time i wanted to capture level of group.


haneefm [Syncfusion]
Replied On April 20, 2007 05:13 PM

Hi Ashok,

You can handle the TableDescriptor.GroupedColumn.Changed event of the grid and use e.Index to get the level of the group. Here is a code snippet.

private void GroupedColumns_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
if( e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
{ SortColumnDescriptor column = e.Item as SortColumnDescriptor;
Console.WriteLine( "Grouped column Index:::"+ e.Index );
}
}

Best regards,
Haneef

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.

;