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

Problem with RadGrid styling

2 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 03 Jan 2013, 05:07 PM
Help.

My boss caught a glimpse of the RadGrid with no skin assigned and liked it, mainly because of the compactness of the display.  On top of that, he wants row borders.

Now I'm trying to customize it and I'm getting nowhere.

It looks to me like having a null skin setting also eliminates the ability to center a radgrid within a div.  (I've been using this to center the grid:  div.RadGrid { margin-left: auto !important; margin-right: auto !important;}.

Is any of this even possible?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 04 Jan 2013, 10:51 AM
Hi,

I suppose you want to set color for rows in radgrid. Try overrriding the default CSS as shown below.
CSS:
.RadGrid_Default .rgRow td, .RadGrid_Default .rgAltRow td
       {
           border-bottom: 1px solid red !important;
           border-top: 1px solid red !important;
       }

Thanks,
Shinu.
0
Boris
Top achievements
Rank 1
answered on 04 Jan 2013, 01:27 PM
Too late.  Then I showed him the 'Transparent' skin and he chose that instead...
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Boris
Top achievements
Rank 1
Share this question
or