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.
Using Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl is there a way to group by a particular column, but not include the column in the groupedby rows?
Example:
If I group a list of contacts by Company. I can click on the company name to expand the group and a list of people who work for that company are displayed as rows. The problem is, is that their Company name is displayed over and over as a column in the rows which is of course redundant.
If this is achievable, is there a way to ensure that new rows that are added under a company group, automatically have the company column populated?
ADAdministrator Syncfusion Team July 12, 2004 07:15 AM UTC
You can eithe rremove teh column from the TableDescriptor.Columns collection or set its width to zero.
this.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("School");
//this.gridGroupingControl1.TableDescriptor.Columns.Remove("School");
this.gridGroupingControl1.TableDescriptor.Columns["School"].Width = 0;
New rows should have the grouped values initially set for you.