synchronous mode

hi,
I need to load events in synchronous mode. could help me to do that.
I don’t understand how i can do.
thanks a lot for your help

Hello,

You can make synchronous request to get event data (you can use dhtmlxAjax as it comes with scheduler) and then call scheduler.parse to actually parse that data.

Best regards,
Ilya

hi thanks a lot but have you a sample code.
BR

Hello,

Please check Sending requests with dhtmlxAjax page in our documentation:

var loader = dhtmlxAjax.getSync(url); scheduler.parse(loader.xmlDoc.responseText, "json");
Best regards,
Ilya