I would need to change a specific header's background color. I've seen some great examples but none that quite tell me what I need to do.
I try
obj.getHeaderTemplate().getContent("box").setStyle("background", "red");
or obj.getHeaderTemplate().setStyle("backgroundColor", "red");
but not working.
Can anyone help ?
Andy
Monday, September 17, 2007
You should specify the column index -
var header = obj.getHeaderTemplate(1); // column-1
header.getContent("box").setStyle("background", "red");
Alex (ActiveWidgets)
Monday, September 17, 2007
I try to specify the column index, but not working!! Why??
My Code: