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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Merging of rows.

Thread ID:

Created:

Updated:

Platform:

Replies:

81187 May 15,2009 09:45 AM UTC May 18,2009 05:37 AM UTC WinForms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On May 15, 2009 09:45 AM UTC

How to merge header rows of a grid.

Jisha Joy [Syncfusion]
Replied On May 18, 2009 05:37 AM UTC

Hi Jayaseelan,

You can use the CoveredRanges property to merge cells in Gridcontrol. Please see the code:

this.gridControl1.Model.Rows.HeaderCount = 1;
this.gridControl1.CoveredRanges.Add(GridRangeInfo.Cells(0, 1, 1, 4));
this.gridControl1.CoveredRanges.Add(GridRangeInfo.Cells(0, 5, 1, 8));
this.gridControl1[0, 1].CellValue = "Group1";
this.gridControl1[0, 5].CellValue = "Group2";

Please let me know if this helps.

Regards,
Jisha

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;