Our state of the art Gantt chart


Post by amit_896 »

Hello

We have a custom popup for entering task details so that we just wanted how we can insert data in children of a particular parent task.


Post by mats »

To add children to a task, you can use this anytime: https://bryntum.com/docs/gantt/#Gantt/model/TaskModel#function-appendChild


Post by amit_896 »

Please see the below screenshot, I tried to insert details in the existing parent task, but it won't work it throwing an exception

append child code.png
append child code.png (35.41 KiB) Viewed 341 times
exception.png
exception.png (27.45 KiB) Viewed 341 times

Post by mats »

Try to debug a bit, item is not what you think it is then. Try to look around a bit and understand the context.


Post Reply