We use the Kendo Scheduler user interface for telerik in our project, we try to create events programmatically without pop-ups.
To create a new event, we use the submit button. We can create a new event on the server by clicking on this button, however we cannot drag the event into the kendo scheduler without refreshing the page.
So far, we have tried two different approaches: 1. Using the addEvent method:
$("#scheduler").data("kendoScheduler").addEvent(eventJson);
- we tried to push / add the cloned data obtained from the response.
var data = $("#scheduler").data("kendoScheduler");
data._items.push(clonedJsonModifedWithOurNewData);
data.refresh();
So, it would be very helpful if someone could just have some code and provide examples at http://dojo.telerik.com/epiJo/2 for programmatically programming events in a kendo scheduler.
Thank.