Hi -
Right now the scheduler always loads into week view. I’d like to change it so that when the scheduler loads, it always loads in day view and then the user can select from the buttons is they want to view week or month views.
How do I change the scheduler to load into day view as default instead of loading week view as default?
Curt
Hello,
it can be set by changing the ‘InitialView’ property of DHXScheduler
scheduler.InitialView = "day";
scheduler-net.com/docs/fields-an … ging_views
I added that code to my homecontroller.cs where all of the other scheduler.xxxx functions are, rebuilt the project and relaunched it. No change, it’s still on week view.
I’m using the Room Booking calendar modification, would that make any difference???
Hi,
The config should work, as you can check in a basic demo:
s3.amazonaws.com/uploads.hipcha … alView.zip
is it possible that initial view is changed later in code after you assign it?
btw, which room booking app do you mean? there are plenty of variations of them here scheduler-net.com/download.aspx
Room Booking Air sample.
Most likely its been changed later, I’m checking with the coder I’m working with and he’s going to find the issue.