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.

Merge The column Header for the Sample Employee

Thread ID:

Created:

Updated:

Platform:

Replies:

57183 Feb 27,2007 09:50 AM Feb 28,2007 03:28 PM Windows Forms 3
loading
Tags: GridControl
Aditi Pisal
Asked On February 27, 2007 09:50 AM

Hi ,

I have used the EmployeeView Sample from the GridGrouping Samples of the Syncfusion Sample Browser.version 4.3.0.30

I want to merge the column headers for the splited Column and display header as a single header .
I have attached the requirement alongwith .

Pls,respond with the sample code.

Thanks and Regards,
Aditi Pisal



Sample116.zip

Administrator [Syncfusion]
Replied On February 27, 2007 01:26 PM

Hi Aditi,

Use the TableModel.CoveredRanges property of the grid to set the covered ranges in a grid. Please try the attached sample and let me know if you are looking something different.

[C#]
this.gridGroupingControl1.TableModel.CoveredRanges.Add(GridRangeInfo.Cells(2,3,3,3));
this.gridGroupingControl1.TableDescriptor.Columns["FirstName"].HeaderText = "Name";

Sample: EmployeeViewCS.zip

Best regards,
Haneef

Aditi Pisal
Replied On February 28, 2007 02:55 AM

Hi Haneef,
I was able to merge the Column headers.Thanks for the sample.

I now want to add another label above some of the selected columns.

I am using GridGrouping Grid of Syncfusion version 4.4.0.55
Pls, reply with sample code

Merge Columns .zip

Administrator [Syncfusion]
Replied On February 28, 2007 03:28 PM

Hi Aditi,

Refer this thread. You may try to have an extra row header set up through the custom section above the column header. See if that helps.

Best regards,
Haneef

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.

;