Check documentation for the latest version of dhtmlxSuite beforeRender DHTMLX Docs

beforeRender

The beforeRender event occurs after data has been selected from the database but before its outputting to client.

class CustomBehavior extends ConnectorBehavior{
    @Override 
    public void beforeRender(DataItem data) {
         //any custom code
    } 
}
component.event.attach(new CustomBehavior());

In this event beforeRender method gets data item object as incoming argument. This object has methods to set properties of data, it can be used to format data in custom way before outputting to client side.

Back to top