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. Image for the cookie policy date

Removing lines in multiple header data bound grid

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

4 Replies

AD Administrator Syncfusion Team 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.


BM Benjahmin Malos 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.


BM Benjahmin Malos 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. >


AD Administrator Syncfusion Team 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));

Loader.
Live Chat Icon For mobile
Up arrow icon