Hi,
How would I go about loading data in the mobile Scheduler in code? I’ve successfully gotten it to load from an XML file on the web server but I wanted to perform the load dynamically.
Thanks
SD
Hi,
How would I go about loading data in the mobile Scheduler in code? I’ve successfully gotten it to load from an XML file on the web server but I wanted to perform the load dynamically.
Thanks
SD
Same as for desktop version, you can load from any dynamic script which returns xml or json code in necessary format.
You can use existing server side connectors, which exists for all main platforms.
That doesn’t quite work with what I"m trying to do. I’m building a HTML5 mobile app with local SQL storage. My code will retrieve/sync schedule info from the server, store it in the local SQL DB then attempt to update the control.
Because I’m not calling a server side script to generate the iCal or XML I need a way (method?) that allows me to say
$$(“scheduler”).load({ some json data here});
Where I’ll be able to create the json formatted data from the local SQL storage.
Hi,
Just updating this thread. Is there a way to add/update the control data via javascript?
Thanks
SD
You can use
$$(“scheduler”).parse({ some json data here});
Awesome. That’s exactly what I was looking for.
Thanks
SD
Hi,
I can’t understand how to achieve dynamic loading with the mobile scheduler.
In the desktop version, as described docs.dhtmlx.com/doku.php?id=dhtm … ntegration:
scheduler.setLoadMode("month");
scheduler.load("some.php");
But the mobile scheduler doen’t have the “setLoadModel”.
How can I achieve that?
thanks
cirpo