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

Gridlines

2 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 29 Aug 2008, 02:06 PM
I'm styling my grids with a modified version of the Hay skin files.

My boss has now decided he wants vertical grid lines. I've tried just setting the GridLines property on the grid itself but that has had no impact; I assume that this is because of the fact that I'm using an external CSS file.

Which bit of the skin's CSS file should I alter to get the most consistent looking vertical lines for both the grid rows and the header?

--
Stuart

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 29 Aug 2008, 02:40 PM
Hi Stuart,

GridLines will not have any effect, you have set in your skin

border: 0;  ( or border: none; )

for the normal and alternating row cells, and header cells. Otherwise, GridLines works as expected (as far as I can see).

Since you are using a custom skin, I strongly recommend putting some border styles in the skin, rather than setting GridLines - in my humble opinion using GridLines is an obsolete styling technique and should be avoided (and the gridlines themselves don't look good either).


Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dan
Top achievements
Rank 1
answered on 29 Aug 2008, 02:52 PM
Thanks for that Dimo

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