search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to set the start of the week as monday

Asked by Bikram Jeet Singh
16 days ago.

Hello,

Here, the start if the week is 1st of Jan which is "Sunday". How can we set the week start day as Monday for Gantt Chart View.

Answer posted by Dan Letecky [DayPilot]
15 days ago.

The Gantt Chart component uses the "locale" property to determine the first day of week:
https://api.daypilot.org/daypilot-gantt-locale/

You can use one of the built-in locales or create your own. See also:
https://api.daypilot.org/daypilot-locale-class/

Comment posted by Dan Letecky [DayPilot]
12 days ago.

In the latest sandbox build (2023.1.5514+) it is now also possible to set the first day of week directly using the "weekStarts" property:
https://api.daypilot.org/daypilot-gantt-weekstarts/

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):