Our state of the art Gantt chart


Post by lanpeng »

Hi bryntum team
I am using bryntum Gantt V5.6.10 .
According to the document you provided, I have seen some introductions about scheduling modes. The scheduling mode I am currently using is "normal". I found that when I modify startDate, endDate will calculate a date based on startDate plus duration. Conversely, when I modify endDate, startDate will calculate a date based on endDate minus duration.
We hope to change it to modify the start or end date, and calculate a new duration based on the modified start or end date. Perhaps my understanding of the document is not thorough enough, and I am not sure if this requirement can be achieved ?


Post by alex.l »

Hi,

As far as I see it worked like this:

Change startDate - will keep duration and move task as is
Change endDate - will change duration and keep startDate as is
Change duration will change endDate and keep startDate

Please see here https://bryntum.com/products/gantt/examples/advanced/

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by lanpeng »

Thanks for your reply , Alex .
Is there any special circumstance that can break these current rules ? Is it related to the direction of scheduling or the constraint type ?


Post by alex.l »

Hi,

Yes it is related to the schedule direction and constraint type. In case direction is backward, it will be vice versa. In case of constraint, it will respect constraints while update.

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply