Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setFirstDayOfWeek does not affect week view

    Hello, I'm trying to get a Calendar control to start in Monday, so I've set this code:

    Code:
    calendar.setFirstDayOfWeek(1);
    After that, the month view starts in Monday but the Week view and the datepicker still start in Sunday. żIs there a way to set the locale globally for a SmartGWT application?

    #2
    Bug with firstDayOfWeek and MonthView

    It seems that the firstDayOfWeek option does affect the month view now, but when you click on an event, it is not the right column which is taken into account : this is one the next day. Eg : Event 1 occurs on monday, and Event 2 occurs on tuesday. When you click on Event 1, the is Event 2 which is edited.

    Code:
    calendar.addEventClickHandler( new EventClickHandler()
    {
    	public void onEventClick( CalendarEventClick event ){
    		event.getEvent(); // not returning the right event !		
    	}
    } );
    Please help

    Laure

    Comment

    Working...
    X