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.

Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

80575 Apr 13,2009 03:51 PM Apr 14,2009 12:35 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 13, 2009 03:51 PM

When grouping an grid, by default the groups within the grid is collapsed. How can you have it expanded by default?


Lingaraj S [Syncfusion]
Replied On April 14, 2009 02:53 AM

Hi Ramesh,

Thank you for your interest in Syncfusion product.

In GridGroupingControl, the CategorizedRecords event is fired when the grouped columns added. If you want expand the group when dropped the column in GroupDropArea. please try using ExpandAllGroups() method in CategorizedRecords event.

Please refer the code below:

this.gridGroupingControl1.Table.CategorizedRecords += new Syncfusion.Grouping.TableEventHandler(Table_CategorizedRecords);
void Table_CategorizedRecords(object sender, Syncfusion.Grouping.TableEventArgs e)
{
this.gridGroupingControl1.Table.ExpandAllGroups();
}


Let me know if it helps,

Regards,
Lingaraj S.



Administrator [Syncfusion]
Replied On April 14, 2009 12:35 PM

Thanks. It worked.

>Hi Ramesh,

Thank you for your interest in Syncfusion product.

In GridGroupingControl, the CategorizedRecords event is fired when the grouped columns added. If you want expand the group when dropped the column in GroupDropArea. please try using ExpandAllGroups() method in CategorizedRecords event.

Please refer the code below:

this.gridGroupingControl1.Table.CategorizedRecords += new Syncfusion.Grouping.TableEventHandler(Table_CategorizedRecords);
void Table_CategorizedRecords(object sender, Syncfusion.Grouping.TableEventArgs e)
{
this.gridGroupingControl1.Table.ExpandAllGroups();
}


Let me know if it helps,

Regards,
Lingaraj S.





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.

;