i want to get start date and end date when i change place of an event in dhtmlxScheduler please help me
Thank you alexander but it didnt worked for me in week and day view
I’ve just checked following code in day view:[code] scheduler.attachEvent(“onBeforeEventChanged”, function(event_object, native_event, is_new, unmodified_event){
console.log(“Event:”+event_object.id);
console.log(“From:”+unmodified_event.start_date);
console.log(“To:”+event_object.start_date);
//any custom logic here
return true;
});[/code], and that worked as expected, can you clarify the problem?
it is working now thank you so much