Gridlines in Datagrid problem!

L

Lars Netzel

Hi!

How can I get ONLY vertical Gridlines WITHOUT a border around the whole
grid?

I have "GridLines=vertical" and "BorderStyle=None" and still I have a border
around the whole grid!

/Lars
 
L

Lars Netzel

How do you to that?

How do you set a Style sheet that will keep track of the different lines in
a datagrid? Everything is rendered as different HTML Tables from ASP.NET.
Sure you can decide top, bottom, right and left lines in a TD but since you
are not really building the table yourself.. how do you control this?

/Lars
 
G

Guest

Each Datagrid element has CssClass property, including grid itself,
headerstyle and itemstyle. Create style for each with appropriate borders
settings and assign styles to each element. If you dont want border around
grid, don't define any borders. But for itemstyle and headerstyle define left
and right border.

For example:
..MyStyle
{
border-right: #696969 1px solid;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top