Our state of the art Gantt chart


Post by jgamboa »

Hi,

is there an example of how to handle task dependencies in VUE 2?

I have been looking into the documentation and there are examples in which task dependencies are shown and created, but there is nothing about deleting them directly from the Gantt calendar using right click, context menu, or anything like that. There is also no documentation about the associated events. I put a catch-all on an example and that is how I am seeing the event's names because I was unable to find them in the documentation.

It would be really helpful to have an example of how to handle the different actions related to task dependencies because just showing and creating them in the example is not enough, you need to have a way to persist the new dependency in your backend and you also need a way to delete it in case you made a mistake creating it in the first place.

Can you point me to an example?

Thanks


Post by tasnim »

Hello,

there is nothing about deleting them directly from the Gantt calendar using right click, context menu, or anything like that. There is also no documentation about the associated events

You can delete a dependency by double-clicking on it and you'll get a popup, then in the pop click on the delete button

f3k2qBVNqh.png
f3k2qBVNqh.png (42.26 KiB) Viewed 105 times

It would be really helpful to have an example of how to handle the different actions related to task dependencies because just showing and creating them in the example is not enough, you need to have a way to persist the new dependency in your backend and you also need a way to delete it in case you made a mistake creating it in the first place.

We already have a demo on that. Please check https://bryntum.com/products/gantt/examples/advanced/
And this is in VUE https://bryntum.com/products/gantt/examples/frameworks/vue/javascript/advanced/dist/

Please also check these docs link to learn more about dependencies
https://bryntum.com/products/gantt/docs/api/SchedulerPro/feature/DependencyEdit
https://bryntum.com/products/gantt/docs/api/Gantt/feature/Dependencies
https://bryntum.com/products/gantt/docs/api/Gantt/data/DependencyStore
https://bryntum.com/products/gantt/docs/api/Gantt/model/DependencyModel

Good Luck :),
Tasnim


Post by jgamboa »

Thanks for the response.

I was able to activate the edit feature and the links were very useful. The DependencyEdit information is under SchedulerPro documentation which is why I couldn't find it on the Gantt. Maybe you can add a link under the Gantt documentation for easy finding ;)


Post Reply