onResize
fires when the width or height of DataGrid was changed
function onResize( // the current width width: number, // the current height height: number): voidExample
Section titled “Example”dgrid.attachEvent("onResize", function(width, height){ console.log("DataGrid takes "+(width*height)+" square pixels");});See also
Section titled “See also”Articles