Unplanned
Last Updated: 07 Dec 2022 06:31 by ADMIN
Paul
Created on: 30 Nov 2022 15:07
Category: Kendo UI for jQuery
Type: Feature Request
0
Scheduler - need deletion event before the prompt

The scheduler is either editable or not. And deletion events are either allowed or not. This isn't a black and white thing. Consider employees at a store. They can see each other's events for scheduling but they are only allowed to modify their own events. So I want editing and deleting enabled but conditionally.

In my case I hook into the databound event and I add a class "nodelete" on events that cannot be deleted. Then I have CSS that hides the "X" button on hover and I block the edit window from appearing.

However, the keyboard still prompts for a deletion. I think there should be some function for whether an event is editable. That, or an event should fire before the deletion prompt so I can stop it from occurring.

Here's a hacky work around. I don't like accessing properties starting with underbar as they are considered private and subject to change but I don't see a better way.

1 comment
ADMIN
Martin
Posted on: 07 Dec 2022 06:31

Hello, Paul,

Thank you for submitting the feature request. Please follow the item for further development on the matter.

On a side note, please take a look at the below resources, as they might be useful to achieve the requirement in a way that would better suit you.

https://demos.telerik.com/kendo-ui/scheduler/restriction

https://docs.telerik.com/kendo-ui/knowledge-base/conditionally-handle-doubleclicking-on-events

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.