Skip to content

onBeforeRender

occurs each time before a view is rendered

function onBeforeRender(
// the set of data that will be rendered
data: array
): boolean

boolean returning false will prevent view rendering

grid.attachEvent("onBeforeRender", function(){
console.log("Rendering start");
});

In case of DataGrid, data is a datastore object of the component