Error handling in dhtmlxtreeview

Hi, I have a dhtmlxtreeview component that grabs data from the server. In certain situation the server might have an error or an informational message that needs to be passed to the client (browser). How do I handle that?
If dynamically loading data from the server, as the user expands selected nodes.

Thanks!

  • Sivan

You may try to use the onLoadXMLError event of the dhx.ajax helper:
https://docs.dhtmlx.com/api__dhtmlxajax_onloadxmlerror_event.html