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.
Unfortunately, activation email could not send to your email. Please try again.

Don''t include GroupBy name in RecordRow

Thread ID:

Created:

Updated:

Platform:

Replies:

16296 Jul 12,2004 02:51 AM Jul 12,2004 03:15 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 12, 2004 02:51 AM

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?

Administrator [Syncfusion]
Replied On 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.

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.

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.

;