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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Merge and unmerge a column of a syncfusion Grid.(Urgent)!

Thread ID:

Created:

Updated:

Platform:

Replies:

80103 Mar 13,2009 09:23 AM Mar 16,2009 03:17 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 13, 2009 09:23 AM

Hi,

How to merge and unmerge a single column of a syncfusion grid.

this.grdImportResult.Model.Options.MergeCellsMode = GridMergeCellsMode.SkipHiddencells | GridMergeCellsMode.OnDemandCalculation | GridMergeCellsMode.MergeRowsInColumn;

Our case we are using this functionality but it is applicable to the entire Grid.

I want to deal with only a single column not with the entair Grid.

Thanks In Advance.




Rajadurai C [Syncfusion]
Replied On March 14, 2009 03:26 AM

Hi Santosh,

Thanks for your interest in Syncfusion products.

To deal with merging of cells in a single column, the MergeCell property of column also has to be set. Please try the following code.

this.gridControl1.Model.Options.MergeCellsMode = GridMergeCellsMode.SkipHiddencells | GridMergeCellsMode.OnDemandCalculation | GridMergeCellsMode.MergeRowsInColumn;
this.gridControl1.ColStyles[2].MergeCell = GridMergeCellDirection.RowsInColumn;


Regards,
Rajadurai


Administrator [Syncfusion]
Replied On March 16, 2009 03:17 AM

Hi,

This as helped me a lot.

Thanks once again
for u r quick response.



CONFIRMATION

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.

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

;