SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.leftPos  property

Return or set horizontally scrolled size of the current grid in pixel unit. If set to another value differently from the existing value, it will be horizontally scrolled. 

Getter
function leftPos(): Number
Setter
function setLeftPos(value: Number)
Code -1
    // Scroll when click the button.
    $('#btnRight').click({
        grid.setLeftPos(grid.leftPos() + 10);
    });
See Also
topIndex
leftCol
examples
Focused Cell