Style change from code
Hi,
Just learning with ActiveWidgets....LOVE IT! Awesome job!
I am messing with the look/feel and I would like to be able to change the style from code.
I found things like this which work:
But I would also like to be able to do this in code:
How do you access the .aw-alternate-even etc from code?
And is there a way to do this in code?
Thanks so much!
Jim
Just learning with ActiveWidgets....LOVE IT! Awesome job!
I am messing with the look/feel and I would like to be able to change the style from code.
I found things like this which work:
obj.getCellTemplate().setStyle("border-right", "1px solid #ccc");
obj.getRowTemplate().setStyle("border-bottom", "1px solid #ccc");
But I would also like to be able to do this in code:
#myGrid .aw-alternate-even {background: #fff;}
#myGrid .aw-alternate-odd {background: #eee;}
How do you access the .aw-alternate-even etc from code?
And is there a way to do this in code?
#myGrid .aw-mouseover-row {background: #ccc;}
#myGrid .aw-mousedown-row {background: #999;}
Thanks so much!
Jim
Jim Nickel
October 27,