Documentation

onResize

fires when the width or height of DataTable was changed

void onResize(number width,number height){ ... };

Parameters

widthnumberthe current widht
heightnumberthe current height

Example

dtable.attachEvent("onResize", function(width, height){
    webix.message("Datatable takes "+(width*height)+" square pixels");
});

See also

Back to top