How do I Disable Gantt Tree editing in Blazor?

3 Answers 78 Views
Gantt
Ash
Top achievements
Rank 1
Ash asked on 17 Feb 2022, 01:01 AM

I want to disable Gantt tree editing. ie make the tree read only.

Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Benjamin
Top achievements
Rank 2
Iron
answered on 21 Feb 2022, 01:48 PM
Hey Ash, we have to wait until R2 2022 (early march) will come out - then you can hook into the OnEdit - until that: You can't toggle the state.
0
Apostolos
Telerik team
answered on 21 Feb 2022, 03:38 PM

Hello Ash,

We will introduce new editing modes for the Gantt in our 3.1 version release which is due in early March. It will be possible to set the edit mode of the Gantt TreeList to none, thus, disable editing.

Additionally, we will add new events including the OnEdit event for Gantt. The OnEdit event will give developers the ability to cancel edit based on a condition.

I hope you find the above information useful and the release date fits your time frame.

Regards,
Apostolos
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Benjamin
Top achievements
Rank 2
Iron
answered on 02 Mar 2022, 10:53 AM

Hey Ash,

as you might seen in the news, Editable is possible now :)

You can add the "Editable" for each Column now.

Happy coding!

Debra
Top achievements
Rank 1
Iron
commented on 13 Jul 2022, 03:16 PM

Yes. But doesn't that only disable editing on the columns?  What about making the tree (is that what the part on the right is called) read-only?  If someone double-clicks on a dark line, I don't want the Task pop-up to even show.  Can I disable that?
Dimo
Telerik team
commented on 18 Jul 2022, 09:14 AM

Tags
Gantt
Asked by
Ash
Top achievements
Rank 1
Answers by
Benjamin
Top achievements
Rank 2
Iron
Apostolos
Telerik team
Share this question
or