SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.leftCol  property

Return displayIndex of the first top column being displayed in the grid, or horizontally scroll to make this column be the first one. 

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