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.

GridDataboundGrid - ''covered'' duplicate cells

Thread ID:

Created:

Updated:

Platform:

Replies:

35097 Sep 22,2005 11:04 AM Sep 23,2005 04:38 AM Windows Forms 2
loading
Tags: GridControl
Iain Jolly
Asked On September 22, 2005 11:04 AM

Hi, How would I ''cover'' duplicate row values within a column of my databound grid? Thanks Iain

Administrator [Syncfusion]
Replied On September 22, 2005 02:31 PM

Hi Iain, This can be done by setting the MergeCellsMode option in the Grid Model and set that column''s style to allow it. For example, the following code would enable merging for Column 2. this.gridControl1.Model.Options.MergeCellsMode = GridMergeCellsMode.BeforeDisplayCalculation|GridMergeCellsMode.MergeRowsInColumn; this.gridControl1.ColStyles[2].MergeCell = GridMergeCellDirection.RowsInColumn; I''ve also attached a sample that demonstrates this: MergeCells_6593.zip If you have any questions about this, please let us know. Regards, Gregory Austin Syncfusion Inc.

Iain Jolly
Replied On September 23, 2005 04:38 AM

Hi, I have managed to merge the cells but what I was looking for was to try and ''Cover'' them or replicate the functionality of excel. Thanks for the quick response. Thanks Iain

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.

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.

;