Page 1 of 1

Week Start Day on Gantt Chart

Posted: Thu Aug 04, 2022 12:51 pm
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 239 times

Re: Week Start Day on Gantt Chart

Posted: Thu Aug 04, 2022 12:59 pm
by tasnim

Re: Week Start Day on Gantt Chart

Posted: Fri Aug 05, 2022 8:10 am
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.


Re: Week Start Day on Gantt Chart

Posted: Fri Aug 05, 2022 9:42 am
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