Merge cells in a Grid Grouping Control

Hi

Please let me know how can i merge cells in a Grid grouping control

Example:- 2 rows in a single column

Thanks
Pavan


3 Replies

JJ Jisha Joy Syncfusion Team September 17, 2010 07:15 AM UTC

Hi Pavan,

If you want the Merge cell in GridGroupingControl, then please try using CoveredRanges property in TableModel to achieve this behavior.

Please refer the to code below:

// For Merge cells
this.gridGroupingControl1.TableModel.CoveredRanges.Add(GridRangeInfo.Cells(5,1,5,5));

Regards,
Jisha



SP Sai Pavan Kumar September 21, 2010 05:07 AM UTC

Hi Joy

I am not able to merge cells ...
i need to merge 4th and 5th row of my grid,present in 15th column...

can you please help me out..

Thanks
Pavan



JJ Jisha Joy Syncfusion Team September 23, 2010 09:26 AM UTC

Hi Pavan,

Please find the attached sample that illustrates the covered ranges in gridGroupingControl.


Regards,
Jisha



GGCMerge_dd45daf.zip

Loader.
Up arrow icon