Disable Gantt - Button

Hi,

I need Gantt to start blocking creating, editing and deleting anything in the gantt (with all functions disable), so I can only use Gantt when I click on a button that can ‘unlock’ Gantt, can you help me?

Thx.

Hello,
You can use the readonly option to lock/unlock Gantt:
https://docs.dhtmlx.com/gantt/api__gantt_readonly_config.html
Here is an example:
http://snippet.dhtmlx.com/ed0a38df8