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

Merged grouped column cells with same values

Thread ID:





99646 Jun 2,2011 04:59 AM UTC Jun 6,2011 09:19 AM UTC WinForms 1
Tags: Grouping
Nihar Ranjan Dalai
Asked On June 2, 2011 04:59 AM UTC


Is it possible to do something like what is done in the attached snapshot using any of the syncfusion grid controls?

I need to have the grouped cells with same values to be merged into one cell.

Hoping for your help,

Thanks and regards,


Jisha Joy [Syncfusion]
Replied On June 6, 2011 09:19 AM UTC

Hi Nihar,

The merge cells can be done by handling MergeCellsMode and MergeCell direction in GridControl as shown below:

this.gridControl1.Model.Options.MergeCellsMode = GridMergeCellsMode.OnDemandCalculation | GridMergeCellsMode.MergeRowsInColumn|GridMergeCellsMode.MergeColumnsInRow;
this.gridControl1.ColStyles[1].MergeCell = GridMergeCellDirection.RowsInColumn;
this.gridControl1.RowStyles[6].MergeCell = GridMergeCellDirection.ColumnsInRow;

Refer the sample from below link that demonstrate the behavior of MergeCell.



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