Premium support for our pure JavaScript UI components


Post by shaveta »

Hi,

I want to add a toggle button to switch between Gantt's Edit and View modes. Is there a way to set Gantt as read-only without reloading data?


Post by tasnim »

Hi,

If I understand correctly, you could set https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#property-readOnly to true or false to toggle between edit and view modes.


Post by shaveta »

tasnim wrote: Mon May 22, 2023 1:12 pm

Hi,

If I understand correctly, you could set https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#property-readOnly to true or false to toggle between edit and view modes.

Thanks!! I was looking for same


Post by shaveta »

shaveta wrote: Mon May 22, 2023 2:51 pm
tasnim wrote: Mon May 22, 2023 1:12 pm

Hi,

If I understand correctly, you could set https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#property-readOnly to true or false to toggle between edit and view modes.

Thanks!! I was looking for same

The only issue I can see with readOnly property is, one can go to Task Information popup and add/remove dependencies. Those buttons should be disabled when gantt is set in readOnly mode


Post by tasnim »

Hi,

Thank you for your report. But I'm not able to reproduce it with the delete one (delete button seems disabled).
We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/6838

Good Luck :),
Tasnim


Post by shaveta »

tasnim wrote: Wed May 24, 2023 12:55 pm

Hi,

Thank you for your report. But I'm not able to reproduce it with the delete one (delete button seems disabled).
We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/6838

Good Luck :),
Tasnim

I mean the same, Thanks!!
All 3 tabs predecessors, Successors, and Resources have this issue


Post by tasnim »

I've updated the ticket. And I don't see resources tab have that buttons available when it's read-only

Thank you


Post Reply