Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kendo Scheduler prevent editing/destruction of certain events

I've created a Kendo Scheduler that binds to a remote data source. The remote datasource is actually a combination of two separate data sources. This part is working okay.

Question is... is there any way to prevent certain events from being destroyed?

I've stopped other forms of editing by checking a certain field in the event's properties and calling e.preventDefault() on the edit, moveStart and resizeStart events if it should be read-only. This works fine, but I can't prevent deletes.

Any suggestions greatly appreciated.

like image 419
Mat Avatar asked Dec 19 '22 18:12

Mat


1 Answers

Just capture the remove event and process it as you have with the edit, moveStart, and reviseStart events. You should see a remove event option off the kendo scheduler. I can see it and capture it in version 2013.3.1119.340.

like image 72
Matthew Townsen Avatar answered Feb 23 '23 22:02

Matthew Townsen