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
close icon

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 07:47 AM UTC

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 09:21 PM UTC

> 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 09:23 PM UTC

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 06:49 AM UTC

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