:: Forum >>
change the color of row selector
Can we change the color of row selector with any color.
I want to change the color of row selector with alternate color.
Sanjay Sharma
Friday, April 21, 2006
Yes, with the following CSS -
.aw-alternate-even .aw-row-selector .aw-item-box {
background: #def;
}
<style>
.aw-alternate-even {
background: #def;
}
.aw-alternate-even .aw-row-selector .aw-item-box {
background: #def;
}
</style>
<script>
var obj = new AW.UI.Grid;
obj.setCellData("cell");
obj.setHeaderText("header");
obj.setSelectorText("selector");
obj.setSelectorVisible(true);
obj.setSelectorWidth(50);
obj.setColumnCount(10);
obj.setRowCount(10);
document.write(obj);
</script>
Alex (ActiveWidgets)
Friday, April 21, 2006
Thanks :) . It works
SS
Monday, April 24, 2006
This topic is archived.
Back to support forum
Forum search