Check documentation for the latest version 6.0 of dhtmlxSuite beforeOutput DHTMLX Docs

beforeOutput

The beforeOutput event occurs after data has been selected from the database and ready to be sent to client side

class CustomBehavior extends ConnectorBehavior{
    @Override 
    public void beforeOutput(ConnectorOutputWriter out, HttpServletRequest http_request, HttpServletResponse http_response) {
        //any custom code
    } 
}
component.event.attach(new CustomBehavior());

beforeOutput method receives output writer object and request , response objects Event can be used to mix some custom data in XML output.

Back to top