Our state of the art Gantt chart


Post by lanpeng »

Hi bryntum team
I am using gantt v5.6.10 .
I have an application scenario that allows users to manually select the direction mode for projects. After the user completes the selection, I will dynamically display the top component project start field based on the mode they have chosen. However, I don't know how to modify the label text on the timeline.
Please take a look at the image I uploaded. The current direction is forward So the date field at the top displays project start, How can I modify the project end on the timeline to project start as well?

Attachments
图像.png
图像.png (125.63 KiB) Viewed 52 times

Post by tasnim »

Hi,

You can easily achieve it by extending the localization https://bryntum.com/products/gantt/docs/guide/Gantt/customization/localization#extend-existing-locale
Here is a codepen demo for you https://codepen.io/dv-auntik/pen/ExzQQjb?editors=0010

Hope it helps.

Best regards,
Tasnim


Post by lanpeng »

Thanks for your reply, tasnim.
I may did not make it clearly. That would not be a locazilation problem.
As we know, gantt has two directions, Forward and Backward . Does the displayed text project start or project end on the timeline depend on whether the current direction is forward or backward? There is a corresponding relationship between them.


Post by tasnim »


Post Reply