I want to use dynamic loading with dhtmlscheduler. I can see in firebug the calendar making the AJAX calls but the events are not shown in the calendar. The xml validates correctly and the content type is set to “text\xml”.
The javascript to load the scheduler is below
function init() {
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.init('scheduler_here', null, "month");
scheduler.setLoadMode("month");
scheduler.config.show_loading=true;
scheduler.load("dhtmlxcalendar?uid="+scheduler.uid());
}
window.onload = init;
Example of XML I’m trying to load is below
[code]<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<start_date>
</start_date>
<end_date>
</end_date>
<start_date>
</start_date>
<end_date>
</end_date>
<start_date>
</start_date>
<end_date>
</end_date>
<start_date>
</start_date>
<end_date>
</end_date>
<start_date>
</start_date>
<end_date>
</end_date>
<start_date>
</start_date>
<end_date>
</end_date>
[/code]