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.

GridGroupingControl Grouping programatically

Thread ID:

Created:

Updated:

Platform:

Replies:

50005 Oct 3,2006 09:00 AM Oct 5,2006 07:54 PM Windows Forms 3
loading
Tags: GridControl
George Thomas
Asked On October 3, 2006 09:00 AM

How do I reproduce the effect of droping columns in the group drop area programatically. I''d like to start with a grid grouped right away ?

Thanks.

Administrator [Syncfusion]
Replied On October 3, 2006 03:28 PM

Hi George,

Please refer to following code snippet to have Grouped columns in the GridGroupingControl

//Form_Load Event
this.gridGroupingControl1.ShowGroupDropArea = true;
// Group by "Col1"
this.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col1", ListSortDirection.Ascending);

Also refer to our evaluation center for more information
http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5

Best regards,
Madhan

George Thomas
Replied On October 3, 2006 04:08 PM

Thank Madhan,

This gives a group on the col but doesn''t then
show each item like it does when you drag the col into the GroupDropArea.

I''m sure I''m missing something.

George.

>Hi George,

Please refer to following code snippet to have Grouped columns in the GridGroupingControl

//Form_Load Event
this.gridGroupingControl1.ShowGroupDropArea = true;
// Group by "Col1"
this.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col1", ListSortDirection.Ascending);

Also refer to our evaluation center for more information
http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5

Best'>http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5''>http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5

Best regards,
Madhan

Administrator [Syncfusion]
Replied On October 5, 2006 07:54 PM

Hi George,

Thanks for being patience.

Please refer to the following sample which demonstrates the way to have Grouped columns programmatically. We are not certain on your requirement, is it possible for you to explain us more details on your requirement?

Sample : GGC_GroupDrop.zip

Best regards,
Madhan

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.

;