I want to either throw a popup saying "You are not the event owner!" or get rid of the delete 'x' icon altogether if a user is not the owner of the event and tries to delete it. Right now, I have an if statement wrapping the content of my delete operation in my scheduler dataSource, so if they are not the user, it does not go in and delete the event in the Database and pops open the window saying they can't do that... However, kendo goes ahead and removes the event from the calendar anyway.......... If you refresh, the event comes back because it wasn't deleted from database.
How do I prevent kendo from removing an event from the calendar if the delete key was pressed while the user was not the event owner? Or how can I hide the delete option from any user that is not the event owner?