3.2.0

Changing color of selected row(s)

I know this is VERY simple to do considering the amazing architecture you guys have put in place. I simply want to change the colors (font, background, etc) of the selected row(s) that have been clicked on. It seems to be defaulting to the Navy blue color at this time. I just want a custom color.

It's probably just my lack of knowledge of the Grid API at this time.

Thanks,
Curtis
Curtis Hughes
January 20,
Curtis,
I just asked this question about 4 posts earilier.... Its do-able via CSS

Here's what Alex wrote

.active-selection-true, .active-selection-true .active-row-cell {
color: red!important;
background-color: yellow!important;
}

Just add your font stuff too...
..
..

Hey Alex,
Hmmm a searchable forum would be nice.. Its growing to be needed :)
how about displaying the forum Posts via the grid???? ;)
I know you guys are busy but, Is there any forum upgrade in the plans soon?
Paul
January 20,
Paul,

Sorry I missed yourearlier post. It's tough searching through all these posts manually to find what you are looking for. A searchable forum would be very beneficial!

Thanks again,
Curtis
Curtis Hughes
January 20,
No problem
January 20,
Forum posts via the grid? Only after the paging function... :-)
Alex (ActiveWidgets)
January 20,
active-selection-true, .active-selection-true .active-row-cell {
color: red!important;
background-color: yellow!important;
}

Can't red!important and yellow!important be replaced with #rrggbb code colors ? I just can't make it work this way...
Emmanuel
March 26,
I don't mean to point out the obvious, but doesn't the grey box to the right have a search field at the top? I can usually find what I am looking for using that.
gbegley
March 26,
.active-selection-true, .active-selection-true .active-row-cell {
color: #ffff00!important;
background-color: #00ff00!important;
}
Alex (ActiveWidgets)
March 26,
True, this works fine. Thx Alex !
Emmanuel
March 29,
This works but how do ou get the row back to unselected....or remove the selection ability altogether. I am relatively new but I love the grid.
garth
August 6,
No, can't get this to work. :(

I've been able to set alternate background color though, white and grey, but that broke the default highlighting of selected rows, that are now unreadable since the default text color for selected row is white too.
Lucho
November 18,
hi,

i am trying to change the color of selected rows but it is not working with the code that u presented here.

can u pls help me

my mail id : balasathyas@eprocorp.com

Thanks in advance,
Bala
Bala
August 2,
#myGrid .aw-rows-selected {background: #316ac5!important; }
Mike
August 4,
I can't change the color like your code
.active-selection-true, .active-selection-true .active-row-cell {
color: #ffff00!important;
background-color: #00ff00!important;
}
or
#myGrid .aw-rows-selected {background: #316ac5!important; }
Please help me
October 24,
YouRGrid.setId("myGrid "); do you set this code ???
NQT
November 17,

This topic is archived.

See also:


Back to support forum