Skip to main content

getScrollState()

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

getScrollState(): ICoords;

Returns:

An object with x, y coordinates of a position the grid has been scrolled to.

Example

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