:: Forum >>

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
Tuesday, January 20, 2004
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
Tuesday, January 20, 2004
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
Tuesday, January 20, 2004
No problem
Tuesday, January 20, 2004
Forum posts via the grid? Only after the paging function... :-)
Alex (ActiveWidgets)
Tuesday, January 20, 2004
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
Friday, March 26, 2004
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
Friday, March 26, 2004
.active-selection-true, .active-selection-true .active-row-cell {
color: #ffff00!important;
background-color: #00ff00!important;
}
Alex (ActiveWidgets)
Friday, March 26, 2004
True, this works fine. Thx Alex !
Emmanuel
Monday, March 29, 2004
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
Saturday, August 6, 2005
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
Friday, November 18, 2005
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
Wednesday, August 2, 2006
#myGrid .aw-rows-selected {background: #316ac5!important; }
Mike
Friday, August 4, 2006
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
Tuesday, October 24, 2006
YouRGrid.setId("myGrid "); do you set this code ???
NQT
Friday, November 17, 2006

This topic is archived.


Back to support forum

Forum search