This is a migrated thread and some comments may be shown as answers.

[Solved] Column dividers

3 Answers 191 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 15 Sep 2009, 03:13 PM
When using a skin like WebBlue, setting the GridLines property does nothing to display the column dividers in the header. How do I make it some there is a visible divider for a user to grab, rather than just relying on them waiting for the cursor to change shape?

--
Stuart

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 15 Sep 2009, 04:00 PM
Hi Stuart,

The GridLines ASP.NET property uses an obsolete HTML attribute (rules) to control the appearance of tables. However, such obsolete attributes are easily overridden by CSS styles (as in the RadGrid skin), that's why the borders in your case do not appear as expected. I advise you to override the embedded skin with a CSS rule, in order to make the header borders appear:

Q1 2009 and later

div.RadGrid_Default  .rgRow td,
div.RadGrid_Default  .rgAltRow td,
div.RadGrid_Default  .rgHeader,
div.RadGrid_Default  th.rgResizeCol,
div.RadGrid_Default  .rgFilterRow td
{
    border-left:1px solid red;
}


Q3 2008 and previous

div.RadGrid_WebBlue  .GridRow_WebBlue td,
div.RadGrid_WebBlue  .GridAltRow_WebBlue td,
div.RadGrid_WebBlue  .GridHeader_WebBlue,
div.RadGrid_WebBlue  .ResizeHeader_WebBlue,
div.RadGrid_WebBlue  .GridFilterRow_WebBlue td
{
    border-left:1px solid red;
}


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Stuart Hemming
Top achievements
Rank 2
answered on 16 Sep 2009, 11:29 AM
Dimo,

Cool. Thanks.

--
Stuart
0
Stuart Hemming
Top achievements
Rank 2
answered on 17 Sep 2009, 12:10 PM
This is going to be added to a future version of the RadGrid docs.

--
Stuart
Tags
Grid
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or