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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

80575 Apr 13,2009 07:51 PM UTC Apr 14,2009 04:35 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 13, 2009 07:51 PM UTC

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 06:53 AM UTC

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 04:35 PM UTC

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.

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

;