Answer posted by Dan Letecky [DayPilot] 12 years ago.
The AutoRefresh event handler doesn't do anything by itself in the JavaScript version.
If you are using the MVC version than make sure that you don't reload the Resources list on the server side during the AutoRefresh callback. The Resources are persisted including the expanded/collapsed node state but if you reload it the state will be lost.
Answer posted by Daniel 12 years ago.
I am using ne JS-version.
Ok, it seems the "dp.update()" is the problem... I do not reload the resources, only the events in this way:
DayPilot.request("backend_events.php", function(result) {
var data = eval("(" + result.responseText + ")");
dp.events.list = data;
dp.update();
});
Comment posted by Dan Letecky [DayPilot] 12 years ago.
Thanks for the update. Let me check that.
Answer posted by Daniel 11 years ago.
Hey Dan,
did you find anything?
The Problem still exists at Version: 923.
Thanks, Daniel.
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.