I am working with Kendo UI, js and the scheduler component.
My question is, if there is a way to disable a specific event from scheduler.
I find this, but this disables all events in scheduler. I want to disable just a specific event. The code should be something like this>
function disableEvents()
{
var data = $("#scheduler").data("kendoScheduler").dataSource.data();
data.forEach(function(event){
if(event.ID='2')
{
event.disable = true; //I have tried with event.editable = true;
}
});
}
I can't find the property editable nor disable, or something like that. Maybe there is a way to disable it using jquery. Can anybody help me?
Thank you!