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.
When I launch grouping grids sometimes some groupings are expanded and sometime all are collapsed. Is there anyway to programmatically collapse all or collapse all then expand one particular grouping.
ADAdministrator Syncfusion Team May 28, 2004 10:47 AM UTC
Following code searches for the group that matches the category "Germany" and expands that group. Before the expansion of that one group, all groups are collapsed. Try the code with the "Grid\Samples\Grouping\GroupCustomers" example.
this.groupingGrid1.Table.CollapseAllGroups();
GridGroup group = (GridGroup) this.groupingGrid1.Table.TopLevelGroup.Groups["Germany"];
group.IsExpanded = true;
Stefan