Timeline issue when weeks starts from Monday

Dear all,

Working with timeline, I had to show weeks starting from Monday and showing 7 or 5 days . I configured the scheduler to show 7 days and everything worked fine but when I modified it to show 5 days, the right arrow to show the next days didn’t work at all. I don’t know if it is due to I have used some configuration parameters which could be incompatible or it’s a possible bug.

In summary:

If week starts from Monday and number of days showed = 7 --> Works fine
If week starts from Monday and number of days showed < 7 --> Right arrow doesn’t work
If week starts from Monday and number of days showed > 7 --> Navigation arrows work but days shown are not correct

The version used in our project is the commercial version v.4.3.1

Here you have an example that shows this behaviour:
docs.dhtmlx.com/scheduler/snippet/4244ff3e

Note: Removing the option “scheduler.date.timeline_start = scheduler.date.week_start;” the navigation arrows works fine showing any number of days.

Thank you in advance for your help,
Juan

Hello,

You also need to set x_length at createTimelineView method to specify time that will be scrolled:
docs.dhtmlx.com/scheduler/snippet/4f3f2f6d

docs.dhtmlx.com/scheduler/api__ … eview.html

Hi Polina,

Thank you very much for your reply. It was very helpful.

Best regards,
Juan