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

GridDataboundGrid - ''covered'' duplicate cells

Thread ID:





35097 Sep 22,2005 03:04 PM UTC Sep 23,2005 08:38 AM UTC WinForms 2
Tags: GridControl
Iain Jolly
Asked On September 22, 2005 03:04 PM UTC

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

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

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 08:38 AM UTC

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


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