getScrollState

returns the coordinates of a position a grid has been scrolled to

position getScrollState();

Returns

positionobject an object with x,y coordinates of a position the grid has been scrolled to

Example

var state = grid.getScrollState(); // -> {x:0,y:0}

See also
Back to top