Skip to main content

scroll

fires on scrolling a grid

scroll: (scrollState: ICoords) => void;

Parameters:

scrollState: object - an object with new top and left coordinates

Example

grid.events.on("Scroll", function({top,left}){    console.log("The grid is scrolled to "+top,left);});

Related sample: Grid. Events