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.
Up arrow icon