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?
I would like to understand how you figured this out - Am I just missing a whole bunch of documentation information somewhere?
Jim
Jim Nickel
Monday, October 29, 2007
I just take a downloaded sample
in this case: examples/grid elements-rows/alternate colors
and then tune-fine a few lines.
I usually go sample-theory-docs direction rather than opposite. :-)
not sure if I'm right, but seems to work (at least for me & AW).
good luck.