dhtmlxScheduler

In the sample : dhtmlxScheduler/samples/initialization_loading/05_loading_mysql.html

we add this lignes :



    scheduler.attachEvent(“onContextMenu”, function (event_id, native_event_object){

    scheduler.getEvent(event_id).text = “new text”; //change data of event

scheduler.updateEvent(event_id); // render updated event

});    



no way to update the database …

the modification don’t work, no dataprocess available, the events.php wasn’t lauch …???


Hello,


you can try to use setUpdated method:


scheduler.attachEvent(“onContextMenu”, function (event_id, native_event_object){
scheduler.getEvent(event_id).text = “new text”; //change data of event
scheduler.updateEvent(event_id); // render updated event
dp.setUpdated(event_id,true)
});


Where dp is dataprocessor object.