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

Column merging in a row

Thread ID:





93478 Mar 16,2010 02:58 PM UTC Mar 22,2010 07:27 AM UTC WinForms 5
Tags: GridControl
Administrator [Syncfusion]
Asked On March 16, 2010 02:58 PM UTC

Can you merge columns, or span columns in a row?


Clay Burch [Syncfusion]
Replied On March 16, 2010 04:43 PM UTC

In a GridControl, merging cells is referred to a coveredcells. So, you can have code such as

gridControl1.CoveredCells.Add(GridRangeInfo.Cells(2, 1, 2, 20));

to cover specific cells.

In a GridGroupingControl, you can use ColumnSets to cover cells in a particular pattern. Take a look at this sample

C:\Users\yourname\AppData\Local\syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\2.0\Grouping Grid Layout\Employee View Demo

that we ship as part of the sample browser. It shows how to use columnsets as well as how to show a preview row (a row under a record row where you can place other information like a record footnote).

Administrator [Syncfusion]
Replied On March 17, 2010 06:58 PM UTC

Excelent thank you very much. :-) really great grid.

Administrator [Syncfusion]
Replied On March 17, 2010 08:01 PM UTC

I get an error using covered cells.


'CoveredCells' is not a member of 'Syncfusion.Windows.Forms.Grid.GridControl'

Administrator [Syncfusion]
Replied On March 17, 2010 08:18 PM UTC

Correct code for Grid Control for folks with same issue.


Jisha Joy [Syncfusion]
Replied On March 22, 2010 07:27 AM UTC

Hi George,

Thank you for your update.



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