Calendar Add-on Demo viewMode: WEEK

I am just learning how everything is working and I rezognized that if I just change the viewMode, nothing really happend, why’s that or is it just for ui-purposes like buttons etc?

I just tested it and put sysout and got this: viewMode: WEEK and calendar was still in month view. So it’s not the correct way to hande this, what is the easiest way then :slight_smile:



Disclaimer: I know next to nothing about Vaadin Calendar :wink:

But from the small tests I’ve done, the view mode is set automatically from the date range you specify to the component. Why there’s a public setter for viewMode is a mystery when it doesn’t work.