Our blazing fast Grid component built with pure JavaScript


Post by s-tech »

Weekday starts with the "Sunday" on the Gantt chart as shown in the attachment . I want to start it on Monday or some other day. Can you please guide us on how we can achieve this?

Screenshot 2022-08-04 at 3.43.11 PM.png
Screenshot 2022-08-04 at 3.43.11 PM.png (53.16 KiB) Viewed 115 times

Post by tasnim »

Best of luck,
Tasnim


Post by s-tech »

Sorry, but that's not the answer to my question. In your referred answer you are skipping the weekend days (Saturday and Sunday) but my question is how can, I start a weekday with "Monday", i.e weekstartday = 1.


Post by arcady »

By default this is defined by the loaded locale. So if you need this to be changed everywhere you'd better make your custom locale.

And if you need this on the Gantt level only use this config: https://www.bryntum.com/docs/gantt/api/Gantt/view/Gantt#config-weekStartDay


Post Reply