Skip to content

onResize

fires when the width or height of DataGrid was changed

function onResize(
// the current width
width: number,
// the current height
height: number
): void
dgrid.attachEvent("onResize", function(width, height){
console.log("DataGrid takes "+(width*height)+" square pixels");
});

Articles