onBeforeRender

occurs immediately before the component has been rendered

boolean onBeforeRender(object data);
dataobjecta object with data that is used for rendering
booleanreturning false will block rendering; by default returns true

Example

some.attachEvent("onBeforeRender", function(data){
    //... some code here ... 
});

Details

Returning false from the event handler will block further processing.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of object list javascript product.