scroll

fires on scrolling a grid

void scroll(object coords){ ... };

Parameters

coordsobjectan 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 samples

Back to top