We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

firstDayOfWeek - froze page

Hi guys,

One more error, 

When I want to change the first day of the week with - firstDayOfWeek as documentation says https://ej2.syncfusion.com/documentation/schedule/working-days/#setting-start-day-of-the-week
page got frozen.

I check this error on Chrome, Safari, my developing app and on stackblitz.co. Result is the same, everything got frozen.

I think that you don't need any code example, just check it here:  https://stackblitz.com/edit/4a3eli-v4dtqh?file=index.js


1 Reply

RV Ravikumar Venkatesan Syncfusion Team March 7, 2023 07:18 AM UTC

Hi Sinisa,

Sample: https://stackblitz.com/edit/ej2-js-schedule-first-day-of-week-sample?file=index.js

In your shared sample you have used the firstyDayOfWeek property value as a string which is causing your reported problem while opening the editor window. The firstyDayOfWeek property accepts the value in the number type. So, you need to provide the value as a number type as highlighted in the below code snippet.


var scheduleObj = new ej.schedule.Schedule({

  firstDayOfWeek: 1,



Ravikumar Venkatesan

Live Chat Icon For mobile
Up arrow icon