469,647 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

rounded corners in data grid

Hi

This is maybe simple question but
how to render DataGrid and Tables
with rounded corners?

Thanks
Konrad
Nov 17 '05 #1
2 2974
Jay
Depending on your situation it can be fairly involved to
implement rounded corners in a DataGrid. The way rounded
corners are created in any HTML page is with graphics.
There is no property setting, for example. Go to any HTML
page on the web and look at how curves are done by
viewing source and by looking at the graphics that make
up a page.

The easiest thing to do with a DataGrid is to use a
graphic for the left and right column of the Header.
You may have to also set the cssClass style for each cell
of the header to a CSS to get the borders to look right.

Jay
-----Original Message-----
Hi

This is maybe simple question but
how to render DataGrid and Tables
with rounded corners?

Thanks
Konrad
.

Nov 17 '05 #2
I'm pretty sure you can do this with CSS2 as well (rounded corners).

Check out the new Macromedia site: www.macromedia.com

The section that starts with the heading "Products" - I'm pretty sure those
corners are not done using rounded images, but rather CSS styles, though
it's a bit hard to work through all their different style sheets (and it's
about 1 AM where I am, so I'm pretty tired!). That said, how you shoe-horn
that into a datagrid I'm not sure.

Cheers
Ken
"Jay" <Ja********@comcast.net> wrote in message
news:06****************************@phx.gbl...
: Depending on your situation it can be fairly involved to
: implement rounded corners in a DataGrid. The way rounded
: corners are created in any HTML page is with graphics.
: There is no property setting, for example. Go to any HTML
: page on the web and look at how curves are done by
: viewing source and by looking at the graphics that make
: up a page.
:
: The easiest thing to do with a DataGrid is to use a
: graphic for the left and right column of the Header.
: You may have to also set the cssClass style for each cell
: of the header to a CSS to get the borders to look right.
:
: Jay
: >-----Original Message-----
: >Hi
: >
: >This is maybe simple question but
: >how to render DataGrid and Tables
: >with rounded corners?
: >
: >Thanks
: >Konrad
: >
: >
: >.
: >
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mel | last post: by
2 posts views Thread by meltedown | last post: by
8 posts views Thread by TheCornjerker | last post: by
6 posts views Thread by Schraalhans Keukenmeester | last post: by
5 posts views Thread by Cindy Lee | last post: by
4 posts views Thread by PWS | last post: by
6 posts views Thread by moondaddy | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.