Check documentation for the latest version of dhtmlxSuite beforeOutput DHTMLX Docs


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

class CustomBehavior extends ConnectorBehavior{
    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