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

Grid SelectedRow And SortedRow

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 21 Mar 2011, 01:08 PM
I have grid in which i want have my own styling? i set <SelectedItemStyle CssClass="gridSelectedItemStyle"/>(
in css
.gridSelectedItemStyle 
{
    background: #A7CDF0 !important;
}
)
and SortingSettings-SortedBackColor="Green"
When i sort by any column, all rows in this column have Green Color, and when i click on any row, this row start to be A7CDF0 color, but sorted row still "Green", i want that all cells in  selected row will be "A7CDF0" background. Screen in attachment.

Andrey

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 May 2012, 10:33 AM
Hi Andrey,

Please try the following CSS.

CSS:
<style type="text/css">
.RadGrid_Default .rgSelectedRow td, .RadGrid_Default .rgSelectedRow td.rgSorted
{
    background: #A7CDF0 !important;
}
</style>

Thanks,
Princy.
Tags
Grid
Asked by
Andrey
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or