472,127 Members | 1,470 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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 3087
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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.