Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to navigate between monthes in Vaadin Calendar

Mohammed Amine Bourkadi
7 years ago Jul 01, 2015 4:21pm
Kim Leppänen
7 years ago Jul 06, 2015 7:49am

Click on the "i" icon in the right top corner. Choose the "source" tab and you can see the source code for the code example.

That said, there doesn't seem to be the code for the navigation. The calendar's resolution and dates shown are managed through setStartDate and setEndDate. If you want to implement month navigation buttons, create two buttons with ClickListeners. Inside the listeners, change the Calendar's start/end date back/forward according to what the user clicked.

Mohammed Amine Bourkadi
7 years ago Jul 08, 2015 9:50am
Kim Leppänen
7 years ago Jul 08, 2015 10:18am
Mohammed Amine Bourkadi
6 years ago Aug 31, 2015 11:43pm