The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
1) On menu option click I want to Expand/Collapse all the groups, how it can be done?
2) Suppose I have 3 tab pages. On each tab page I have placed one GGC. All three grids have same datasource, but show different columns. If I expand one child group in tabpage1, the same group in remaining 2 tabpages should get expanded. How it can be done.
ADAdministrator Syncfusion Team March 12, 2007 03:10 PM UTC
Hi Vinod,
Question 1) On menu option click I want to Expand/Collapse all the groups, how it can be done? >>>>> You can call the Table.ExpandAllGroups method to expand the Top-level group and nested groups in a Grid and use the CollapseAllGroups method for collapsing the Top-Level group and all nested level groups in a Grid.
>>>>> Question 2)Suppose I have 3 tab pages. On each tab page I have placed one GGC. All three grids have same datasource, but show different columns. If I expand one child group in tabpage1, the same group in remaining 2 tabpages should get expanded. How it can be done. >>>>> You can copy the settings from one Engine object to another and also have different engine object point to the same datasource of the GridGrouping Control to achieve your shared behaviour. please try this code in SelectedIndexChanged EventHandler