Border Color & Width in DataGrid?

A

Arpan

The output of a DataGrid is nothing but a HTML table. To color or
change the width of the outer 4 borders of a DataGrid, one can use the
properties "BorderColor" & "BorderWidth" respectively but how does one
change the border color & width of the 4 borders surrounding each cell?

There are 4 other properties apparently meant for changing the border
color & width of the 4 borders surrounding each cell i.e.
HeaderStyle-BorderColor & HeaderStyle-BorderWidth (for the headers) &
ItemStyle-BorderColor & ItemStyle-BorderWidth (for the items) but using
them doesn't change the border properties around each cell.

Thanks,

Arpan
 

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,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top