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

Timeline : problem display events (daily timelime 24h)

$
0
0
Hi Isomorphic,

I have an issue with Timeline widget.
I use the Timeline to display some events happening on our servers.

I load the events data from Webservices (requested from gwt server side) and create CalendarEvent with those data.
i display the events happening in red (custom css) and fill the blank with green (means everything alright).

The problem is : the event is not displayed properly if the start time minutes are higher that end date minute... (only after 11pm)

Please have a look to attached Jpeg to understand : last lane , the event ending at 22:50.
This CalendarEvent is created with a end date of 23:50 (even the message box display the right end time).
I tried to add some event manually from the timeline : i have the same problem.
When the end time minute is higher than start time minute i have this issue.

IMPORTANT : this only happen on 23th hour column.

SmartGWT version 4.0
Problem appears on : Chrome + Firefox +Safari

Configuration of my timeline :

myTimeline.setStartDate(currentDate);
myTimeline.setTimelineGranularity(TimeUnit.HOUR);
myTimeline.setDefaultTimelineColumnSpan(23);
myTimeline.setTimelineUnitsPerColumn(1);
myTimeline.setColumnsPerPage(24); myTimeline.setTimeFormatter(TimeFormatter.TOSHORTPADDED24HOURTIME);
myTimeline.setCanResizeTimelineEvents(false);
myTimeline.setCanEditLane(false);
myTimeline.setShowEventDescriptions(false);
myTimeline.setDisableWeekends(false);
myTimeline.setEventOverlap(true);
myTimeline.setEventAutoArrange(true);

Thanks
Erwan

Attached Images
File Type: jpg timeLine-EventProblem.jpg (58.6 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles