3.2.0

horizontal scrollbar design

I want to short horizontal scrollbar to scrollable area because I use
obj.setFixedLeft(5);
How is it possible?
Thierry
March 24,
Yes, this should be possible -

<style>

#myGrid .aw-bars-box {
    width: auto;
    left: 300px;
    right: 0px;
}

#myGrid .aw-bars-box {
    width: expression(this.parentElement.clientWidth - 300);
}

#myGrid .aw-bars-box .aw-bars-spacer {
    margin-left: -300px;
}

</style>
<script>

    var obj = new AW.Grid.Extended;
    obj.setId("myGrid");
    obj.setSize(700, 200);
    obj.setCellData("cell");
    obj.setHeaderText("header");
    obj.setColumnCount(10);
    obj.setRowCount(100);
    obj.setFixedLeft(3);
    document.write(obj);

</script>
Alex (ActiveWidgets)
March 27,
Great
it works
Thierry
March 28,

This topic is archived.

See also:


Back to support forum