How to change the number of days in a week view?

1.I want to know how to customize the number of days in a week view dynamically?

2.Also I want to know how do I set the start and end dates for the week view dynamically.

i.e Say I want week view to show May 21 to May 28 or May 22 to Jun 1 etc.

Hello @aditirajendran94 :wave:

Here you can find an example of how you can customize the visible days: https://demo.mobiscroll.com/javascript/scheduler/show-hide-hours-days# - however, as you mentioned the startDay and endDay properties are the right solution for this.

Also, this section of docs about how to set options dynamically should be helpful: https://docs.mobiscroll.com/javascript/eventcalendar#setting-options-dynamically.