Our state of the art Gantt chart


Post by prabhakaran.r »

Hi
is it possible to reuse my existing Taskedit component (using ReactModal) for taskEdit?


Post by tasnim »

Sure, It is possible.
You can use the beforeTaskEdit to prevent the default taskEditor and use your task editor.
Docs : https://bryntum.com/docs/gantt/api/Gantt/feature/TaskEdit#event-beforeTaskEdit

I've attached a simple example app that how you can achieve it. And I also attached a gif file of how it is working.

Attachments
chrome_evuHLTT1Xg.gif
chrome_evuHLTT1Xg.gif (299.79 KiB) Viewed 74 times
basic.zip
(2.22 MiB) Downloaded 21 times

Post Reply