Hello again. I read somewhere on this forum that problem with dynamic loading can be caused by bad server side scripts, that don’t serve the right month. But I have this problem in a very basic setup with the newest version of the Scheduler. Here are my steps after downloading and unpacking the v2.2 Standard Edition Full Package:
I load the sample database from common/dump_events.sql (only the fragment with “events” table)
I delete all data from table “events” (just for clarity).
I set my password and db name in config
In 01_initialization_loading/05_loading_mysql.htm l change
scheduler.init('scheduler_here',new Date(2009,10,1),"month");
to
scheduler.init('scheduler_here',null,"week");
I go to the scheduler and put some basic event on August 2.
I refresh the page
I change the view tab to month
I go to August.
And it’s not there. If I go to some other month and back to August, it’ll be there.
But also, importantly, if I don’t see it, and start adding an event in this month, in this view, it’ll appear.
Any ideas why this is not right? Dynamic loading is a great feature and I’d really like to enable it in my project.
It will force data rendering, which must resolve issue.
We have some similar reports, but problem can’t be reconstructed locally, so exact reason is not clear. If you have some spare time we can provide custom build of dhtmlxscheduler with additional logging , to investigate why the problem occurs.
Try to replace existing js file with the attached one and repeat the problematic scenario ( without above mentioned workaround )
There will be textarea with log info in the right part of window - please send back its content to the support@dhtmlx.com or post it in this topic. dhtmlxscheduler_log.zip (29.4 KB)
OK, here it is (after page load, then month tab click, then next month click):
data loading end
data rendering: false
data added
data parsed
data loading start
xml loading: php/events.php?timeshift=-120&uid=1280233272543&from=2010-09-01&to=2010-10-01
cache missed
to: Fri Oct 01 2010 00:00:00 GMT+0200 (CET)
from: Wed Sep 01 2010 00:00:00 GMT+0200 (CET)
dynamical laoding confirmed
conditional xml loading: undefined
update view
data loading end
data rendering: false
data added
data parsed
data loading start
xml loading: php/events.php?timeshift=-120&uid=1280233272542&from=2010-06-01&to=2010-07-01
cache missed
to: Thu Jul 01 2010 00:00:00 GMT+0200 (CET)
from: Tue Jun 01 2010 00:00:00 GMT+0200 (CET)
dynamical laoding confirmed
conditional xml loading: undefined
update view
data loading end
data rendering: false
data added
data parsed
data loading start
xml loading: php/events.php?timeshift=-120&uid=1280233272541&from=2010-07-01&to=2010-09-01
cache missed
to: Wed Sep 01 2010 00:00:00 GMT+0200 (CET)
from: Thu Jul 01 2010 00:00:00 GMT+0200 (CET)
dynamical laoding confirmed
conditional xml loading: Tue Jul 27 2010 14:21:12 GMT+0200 (CET)
enter single render mode
rendering logic
update view