Hello!
I am having problems loading data dynamically. Here is my configuration code.
scheduler.config.xml_date="%Y-%m-%d";
scheduler.config.dblclick_create = false;
scheduler.config.readonly_form = true;
scheduler.config.date_step = “5”;
scheduler.setLoadMode(“month”);
scheduler.init(‘scheduler_here’,null,“month”);
scheduler.config.show_loading=true;
scheduler.load("/CalendarXMLServer2");
I have verified that my XML data source /CalendarXMLServer2 is working correctly and accessible. This servlet exposes up to 10000 events, so I definitely want to use dynamic loading to filter (?to=DATEHERE&from=DATEHERE) the returned XML data.
My assumption is that, if I have the scheduler on a month view and have:
scheduler.setLoadMode(“month”);
when I page between months, the scheduler will call the servlet as each month is displayed, appending ?to=DATEHERE&from=DATEHERE to the URL. However, using backend logging, I can see that that never happens, and in fact the URL call isn’t even made. If I remove:
scheduler.setLoadMode(“month”);
then the URL is accessed, but of course I get a large data dump.
Can you help me understand what is going on here? I’m using a version of dhtmlxscheduler that I downloaded three days ago, so this should be the latest.
Thanks!
Jason