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.

Removing lines in multiple header data bound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

4264 May 5,2003 05:25 PM May 8,2003 02:49 AM Windows Forms 4
loading
Tags: GridControl
Benjahmin Malos
Asked On May 5, 2003 05:25 PM

The attached file shows a multi-line header in a data bound grid. Does anyone know how to remove the dashed line between header row 1 and header row 2? Any help would be greater appreciated- Thanks from Benno

Administrator [Syncfusion]
Replied On May 6, 2003 03:47 AM

You can try to remove the border in the header cells. Here is one way you can do it.

Benjahmin Malos
Replied On May 7, 2003 05:21 PM

> You can try to remove the border in the header cells. Here is one way you can do it.

Benjahmin Malos
Replied On May 7, 2003 05:23 PM

Thanks for that - I can remove the lines now ... but is there any way of actually making the cells become one ... like merge the cells? As the heading is now to two rows ... really would like it to become one - Also is there a way of changing the text alignment in a particular header cell? Thanks from Benno > > You can try to remove the border in the header cells. Here is one way you can do it. >

Administrator [Syncfusion]
Replied On May 8, 2003 02:49 AM

You can use CoveredCells (and then you don't need to remove the lines - but you will only see the text from the top-left cell of the covered range appear in the 'new' larger cell). this.grid.Model.CoveredRanges.Add(GridRangeInfo.Cells(0,1,1, 2));

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.

;