:: Forum >>
Set background color for Muliple Headers
Is there a way to set the background color for multiple headers withOUT using css?
I am simply using the following code to set the second header bg color to red:
grid.getHeaderTemplate().setStyle("background", "red");
How do I set the bg color for the top most header?
Any help would be greatly appreciated.
Tuesday, August 14, 2007
If you are using xp theme - the header background is assigned to the inner box, so the code will look like
grid.getHeaderTemplate().getContent("box").setStyle("background", "red");
Alex (ActiveWidgets)
Friday, August 17, 2007
Thank you Alex! The code is working perfectly!
Monday, August 20, 2007
This topic is archived.
Back to support forum
Forum search