Is there a way that I can use to disable interactibility with the whole gantt chart itself? That means the user should not be able to drag, resize, double-click etc. the chart and it will only be there as a readonly component.
Hi Aks26, disabled property should disable the element but there seems to be an issue with it that will be fixed in the next release. May I suggest adding the following CSS to accomplish the same result in disabling user interaction for the component:
You can specify the CSS selector to work only when adding the disabled attribute or something else (smart-gantt-chart[attribute-name]).
Furthermore, you can disable resizing or dragging for individual tasks via the disableResize/disableDrag attributes. You can do that in the task definition in dataSource or dynamically via the updateTask method. Here’s a demo
Smart HTML Elements Team https://www.htmlelements.com