Hi,
I have blocked all the dates before current date and I want to edit the end date of an event that has started in the past and still continues today.
The fact is that I can’t edit this event because of block time.
Do you have an idea of how to fix it without disabling block time ?
Thanks
Hi,
try using client-side “onLimitViolation” event
docs.dhtmlx.com/doku.php?id=dhtm … tviolation
Hi,
I watched this event but I could not retrieve the value of start_date and end_date on an existing event which values are undefined.
The only way I have to get these dates is to make an ajax call to retrieve the event by its id ?
Hello,
event’s start/end dates must always be defined, otherwise event cannot be displayed in calendar.
Can you show your code?
This is my js code :
scheduler.attachEvent("onLimitViolation", function (event_id, event_object) {
alert(event_object.start_date);
return true;
});
It alerts with “undefined”
Please provide a complete demo.
I’ve tried this code on our samples and it alerts correct date, problem must be caused by something else on the page