I want to be able to detect when a dbl click on the scheduler is an edit of an existing event, or a new event.
I then want to use a different template or at least be able to alter the template accordingly.
Is tis possible, thanks?
Thanks
1 Answer, 1 is accepted
0
Rosen
Telerik team
answered on 08 Jan 2015, 07:14 AM
Hello Alan,
You can use the edit event to check if the edited event is new one and take the appropriate action:
$("#scheduler").kendoScheduler({
edit: function(e) {
if (e.event.isNew()) {
alert("event is new");
}
},
/*..*/
});
Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!