Skip to main content

scroll

fires on scrolling a grid

scroll: (scrollState: object) => 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