addevent

I am totally new to scripting.

Its quite easy one to handle, so, I tried.

I am using xml file as source, so, i load events from xml file.

only thing is… i am not able to figure out, where i have to write/call the addevent method?

so, that, i can create a new event and save it into xml file.



i looked the whole documentation, but, could not find it.


Hello,


there is no ready solution to save new events into the xml file. But there are dataProcessor functionality that allows to send changes to the server. And moreover there are server-side connectors for PHP, Java and .Net that help to fetch and save data to the database easily. For example dhtmlxScheduler/samples/01_initialization_loading/05_loading_mysql.html (sample requires PHP).


Hi



Thanks for the info, if you guide me, i would like to write an interface for saving events to various file formats, like xml.



I think this is good idea, please let me know.


Hello,


there is getEvents method that can be used to get all events of the scheduler: dhtmlx.com/dhxdocs/doku.php?id=d … _getevents


You can form xml string and pass it to the server to create the xml file.