Do you have any plans for implementing AutoRefresh for JavaScript?
AutoRefresh is now supported in the JavaScript version (build 7.7.813). See the sandbox:
http://javascript.daypilot.org/sandbox/
If enabled during initialization (autoRefreshEnabled = true), it will fire onAutoRefresh event in the specified intervals:
dp.onAutoRefresh = function(args) { console.log("refreshing, " + args.i); };
Strange.
I put in my code this lines: dp.AutoRefreshInterval = 10; dp.autoRefreshMaxCount = 10;
dp.onAutoRefresh = function(args) { alert("refreshing, " + args.i); };
But noting happens. I couldn't уму get into debug mode.
and this line too
dp.AutoRefreshEnabled = true;
You should use lowercase first letter:
dp.autoRefreshInterval = 10; dp.autoRefreshMaxCount = 10; dp.autoRefreshEnabled = true; dp.onAutoRefresh = function(args) { alert("refreshing, " + args.i); };
:))))) sorry for this stupid question. It works!