Setting selected row color via code
I'm currently using v2.0.1, and was wondering if there was some way to set the selected row color via code without using CSS of any sort. I'm looking to do something like the following:
var myObj = new AW.UI.Grid;
myObj.getRowTemplate().setSelectedRowStyle("background-color", "#CCCCCC");
I want to do this because I currently don't have a way of modifying the style in the head of the page, so the only way to do it is to write out the style in the body, which - while it works - is bad HTML syntax. Is there any support for this?
var myObj = new AW.UI.Grid;
myObj.getRowTemplate().setSelectedRowStyle("background-color", "#CCCCCC");
I want to do this because I currently don't have a way of modifying the style in the head of the page, so the only way to do it is to write out the style in the body, which - while it works - is bad HTML syntax. Is there any support for this?
Steve
May 27,