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
close icon

Merging of cells in GridControl

hi, i am using Syncfusion 3.0.1.0 .I want to merger two cells of the header row in GridControl. can anyone tell me how to do it. i tried using Merge method ,but no luck. thanks and regards shwetha

1 Reply

AD Administrator Syncfusion Team September 14, 2005 07:41 AM UTC

Hi Shwetha, You could use the CoveredRange support to merge two cells. Please refer this code snippet: this.gridControl1[0,1].Text="Merging Two Cells"; this.gridControl1.CoveredRanges.Add(Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(0,1,0,2)); Here is a sample. mergingtwocells.zip Please let us know if this helps. Best Regards, Jeba.

Loader.
Live Chat Icon For mobile
Up arrow icon