kendo scheduler workWeek previous button not work!

1 Answer 23 Views
Scheduler
vahid
Top achievements
Rank 2
Iron
Iron
Iron
vahid asked on 11 Jul 2022, 05:48 PM | edited on 11 Jul 2022, 05:48 PM

hi

i set  all days in workDays

workDays: [1,2,3,4,5,6,7]
now previous date button not work!

sample

thank you

1 Answer, 1 is accepted

Sort by
1
Accepted
Lyuboslav
Telerik team
answered on 14 Jul 2022, 11:49 AM

Hello Vahid,

I would suggest changing workDays like the below code snippet:

workDays: [0,1,2,3,4,5,6]

As described in the API the workDays is index based. Thus, the days are presented with array indexes (0,1,2,3,4.....) where we start to count from zero.

I hope this will help you.

Regards,
Lyuboslav
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
vahid
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Lyuboslav
Telerik team
Share this question
or