473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 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 3147
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Mel | last post by:
how can i have a rounded edge button in my forms using CSS ? thanks Mel
2
by: meltedown | last post by:
I noticed that the footer menu on the bottom with rounded corners only uses one image of a rounded corner:img/round15_bot.gif This one image seems to be used for all four corners, but that can't...
1
by: jimfortune | last post by:
The following Access VBA function creates a string that can be used in a pdf stream to draw or fill a rectangle of a given color with rounded corners: 'Begin code----------- Public Function...
8
by: TheCornjerker | last post by:
I've been looking into what method I should use to show rounded corners (and I've found a lot). My question is why does Google seems to mostly use the table method with an image in each corner. ...
6
by: Schraalhans Keukenmeester | last post by:
I want to achieve the following: A small image in each of the corners of a box, like below: +-------------------------------+ | + | + | + | + | + | +
5
by: Cindy Lee | last post by:
Is there anyway to put rounded corners on the grid views? When I bring it up in the brower I need to have rounded corners. There are some tricks I can do to regular html tables, but is there any...
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
4
by: PWS | last post by:
I am despertely trying get a DIV to look like a box with rounded corners. I can find load of examples this where the first line of text has the top graphic and the last line of text has the...
6
by: moondaddy | last post by:
I need to be able to make polygons with rounded corners. This will be to draw group outlines around shapes in a diagramming tool in wpf. all angles in the polygon will be 90 degrees, but somehow...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.