Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug in Calendar

$
0
0
EntryPoint
Code:

public void onModuleLoad() {

                VLayout layout = new VLayout();

                Calendar calendar = new Calendar();

                calendar.setTimeFormatter(TimeDisplayFormat.TOSHORTPADDED24HOURTIME);
                calendar.setTodayBackgroundColor("#E8E8E8");
                calendar.setTwentyFourHourTime(true);
                calendar.setWorkdayStart("8:00am");
                calendar.setWorkdayEnd("8:00pm");
                calendar.setShowWorkday(true);
                calendar.setScrollToWorkday(true);

                calendar.setAutoFetchData(true);
                calendar.setDisableWeekends(false);
                calendar.setShowWeekends(true);

                layout.setMembers(calendar);
                layout.setWidth100();
                layout.setHeight100();

                layout.draw();
        }

Change to next week. The color of "today" does not disappear. Only when you move the mouse it disappears.
Using smartgwt 5.0p eval 27.01

Viewing all articles
Browse latest Browse all 4756

Trending Articles