Calendar using a data model ?

Hi Vaadmin team,

I’m currently doing something which looks like an Outlook calendar: a Calendar with several views (Day/Week/Month) in a TabSheet. My question is: is there a way the the 3 Calendar instances are using the same data model ? (sorry if my question is dummed ::grin:)

That was a dumb question, so I’ll answer to myself :blink:

For each of your Calendar, use the same EventProvider. For instance,

MyCalendarEventProvider aProvider = new MyCalendarEventProvider();
calendar1.setEventProvider(aProvider);
calendar2.setEventProvider(aProvider);
calendar3.setEventProvider(aProvider);