We are using dhtmls schedular. In that we are using dynamic loading of data. It works find for loading data for the first time. But whenever I click on month or week then it loads the data but does not remove the previous data.
E.g. I have two appointments on 5th June, 2011. Show on d view it shows two events but when I click on month view it loads the data for the whole month and hence there creates the ambiguity for the data of 5th June. It shows the same appointment twice. Means instead of 2 appointment it shows 4 appointment. I have observed that it happens because of caching system. Is there anything I can do to stop the caching of data?
Yes we are using dynamic loading, but do not use any special handler to load the data we user the default handler provided by dhtmlx schedular.
Now the problem is when I load the calendar first time suppose for 17th May 2011, It would load data for 17th to 18th May. And the url goes like this : dev.indianic.com/salonbokking/pu … 2011-05-18
But when I click on month it loads the data for whole month, as I am loading the data of May it obviously contains the date 17th, So it shows the data related to 17th twice. Means It does not remove the past data from xml rather it appends to the current when I click on month and when the month data is loaded. The url for it goes like this : dev.indianic.com/salonbokking/pu … 2011-06-06
It is expected that same events can be loaded from the server two times.
If event has unique ( not random ) ID - above scenario must not cause an issue. Instead of event dupplication, existing event will be updated with new info.
Check that you are providing unique IDs, and same event has the same IDs for all data loadings.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan