3.0 beta 2

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
April 21,
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)
April 21,
Thanks :) . It works
SS
April 24,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.