Our state of the art Gantt chart
Hi team,
I can open edit task popup by using code
gantt.editTask(taskRecord)
But in my case, I've custom button "Add new task" and I want trigger action on this button to open new task popup. Do we've similar method same as edit task? I tried to use
but failed.
Thanks.
Could you please share the code of that button? What does it look like? Is it on the tbar?
Hi Tasnim,
Code is empty, I just have new custom button outside chart like below
1.png (38.18 KiB) Viewed 1589 times
Attachments
chrome_d5J98w1nY7.gif (1.41 MiB) Viewed 1585 times
Hi tasnim,
it's about
We not have popup for
?
It's ok for case add new, but for other cases (move tasks) << after moving, edit popup task appear. Do we have any option to cash only for case
add new task/subtask/milestone
?
Do you have task editor dialog appeared when you move task after you added this code?
gantt.taskStore.on('add', (event) => {
gantt.editTask(event.records[0]);
})
Yes, I've task editor dialog appeared.
Hi,
It's ok for case add new, but for other cases (move tasks) << after moving, edit popup task appear. Do we have any option to cash only for case
Could you please elaborate a bit? I'm not sure what exactly you're trying to achieve