I have some question about using calendar timeline in setting TimeUnit.WEEK and setFirstDayOfWeek=0 (firstDayOfWeek is sunday)
in SmartGWT 12.0p .
I have check some setting , when i set calendarTimeline.setFirstDayOfWeek(0) and
setResolution in TimeUnit.WEEK then it become like this
the week of 2021-03-21 to 2021-03-27 and 2021-04-11 to 2021-04-17 's
CalendarEvent can't be displayed correct (
especially in 2021-04-11 to 2021-04-17 's CalendarEvent), and if i click the gap of CalendarEvent then it throws
Uncaught TypeError: Cannot read property 'endDate' of null
and calendarTimeline.setEndDate(endDate); seems not working .
calendarTimeline.setStartDate(startDate); //03/21
calendarTimeline.setEndDate(endDate); //04/17
CalendarEvent 's startDate and endDate are 03/21 to 03/27 、 03/28 to 04/03 、 04/04 to 04/10 、 04/11 to 04/17
but if i didn't set calendarTimeline.setFirstDayOfWeek(0) it displays correct
thank for you help
in SmartGWT 12.0p .
I have check some setting , when i set calendarTimeline.setFirstDayOfWeek(0) and
setResolution in TimeUnit.WEEK then it become like this
the week of 2021-03-21 to 2021-03-27 and 2021-04-11 to 2021-04-17 's
CalendarEvent can't be displayed correct (
especially in 2021-04-11 to 2021-04-17 's CalendarEvent), and if i click the gap of CalendarEvent then it throws
Uncaught TypeError: Cannot read property 'endDate' of null
and calendarTimeline.setEndDate(endDate); seems not working .
calendarTimeline.setStartDate(startDate); //03/21
calendarTimeline.setEndDate(endDate); //04/17
CalendarEvent 's startDate and endDate are 03/21 to 03/27 、 03/28 to 04/03 、 04/04 to 04/10 、 04/11 to 04/17
but if i didn't set calendarTimeline.setFirstDayOfWeek(0) it displays correct
thank for you help
Comment