Border Color & Width in DataGrid?

  • Thread starter Thread starter Arpan
  • Start date Start date
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
 
Back
Top