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. Image for the cookie policy date

Don''t include GroupBy name in RecordRow

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?

1 Reply

AD Administrator Syncfusion Team July 12, 2004 03:15 AM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon