Closed GoogleCodeExporter closed 9 years ago
dayView has the same question.
Original comment by bienvenueqin@gmail.com
on 14 Apr 2010 at 9:53
The MonthView is not actually a Widget and therefore cannot be added to a
RootPanel
or any other Panel.
You need to create a calendar, and then set the calendar's view:
Calendar calendar = new Calendar();
calendar.setDate(new Date());
calendar.setDays(3);
calendar.setWidth("500px");
calendar.setHeight("400px");
calendar.setView(CalendarViews.MONTH);
add(calendar);
See http://code.google.com/p/gwt-cal/wiki/GettingStarted
Original comment by Brad.Ryd...@gmail.com
on 14 Apr 2010 at 4:26
Original comment by Brad.Ryd...@gmail.com
on 14 Apr 2010 at 4:31
Original issue reported on code.google.com by
bienvenueqin@gmail.com
on 14 Apr 2010 at 9:40