This is a migrated thread and some comments may be shown as answers.

Grid line Color

1 Answer 242 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Nov 2011, 12:45 PM
I can't change the grid line color. I've tried:
<ItemStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="25px" BackColor="Red" Font-Bold="True" />

But it doesn't change the grid line.

The column type is: telerik:GridBoundColumn

What am I missing?

John

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 04 Nov 2011, 01:02 PM
Hello,

<style type="text/css">
  
      .itemCustomStyle
      {
          border-color: Black !important;
          border-style: Solid !important;
          border-width: 25px !important;
          background-color: Red !important;
          font-weight: bold !important;
      }
  </style>

<telerik:GridBoundColumn DataField="ID1" HeaderText="ID1" UniqueName="ID1">
                   <ItemStyle CssClass="itemCustomStyle" />
               </telerik:GridBoundColumn>


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or