Hi,
I'm trying to display the Gantt component as read-only. While it's easy to disable editing for the TreeList that's part of the Gantt component, I can't seem to disable editing of tasks through the timeline. There are 3 things that I'm trying to resolve.
1. How to disable the popup editor when double clicking a task in the timeline?
Only thing I can come up with is hide the popup editor through a css class with 'display: none':
<GanttSettings>
<GanttPopupEditSettings Class="d-none" />
</GanttSettings>
2. How to disable dragging of the tasks on the timeline?
I can't seem to find a way to lock the tasks in place. I can always drag them.
I'm aware I can set the start and end values of the task back to the original value after dragging (through OnUpdate), but I don't want to be able to drag them in the first place.
3. How to hide specific editing buttons on the task in the timeline?
When hovering over a task in the timeline it always shows a number of handles or buttons for the following actions (circled in red in the below screenshot):
- change the completion percentage.
- specify new dependencies
- delete the task
How can the handles and buttons for these actions be disabled/hidden?
Kind Regards