Gantt MVC Issues

1 Answer 30 Views
Gantt
Eli
Top achievements
Rank 1
Iron
Eli asked on 22 Mar 2022, 06:03 PM | edited on 22 Mar 2022, 06:04 PM

How can I disable the users ability to "delete" a task? I still want them to be able to edit times/and properties but I simply don't want them to be able to delete items.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 25 Mar 2022, 03:35 PM

Hello Eli,

This can be achieved by setting the Gantt's Editable.Destroy option to false:

.Editable(ed => ed.Destroy(false))

Regards,
Ivan Danchev
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.

Eli
Top achievements
Rank 1
Iron
commented on 07 Apr 2022, 08:28 PM

Thank you
Tags
Gantt
Asked by
Eli
Top achievements
Rank 1
Iron
Answers by
Ivan Danchev
Telerik team
Share this question
or