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

Wrong overlap sort in Calendar

$
0
0
Hi,

we are using smartclient 10.0d and I am using the Calendar with showDayLanes as true.
In the window that I am developing, I have a dropdown with the list of available lanes, where I can pick the lanes that I want to be displayed at the moment. When I do so by calling setLanes with the array of labels to be displayed, the order by which overlapping events are displayed is incorrect.

This can be reproduced at:
http://www.smartclient.com/docs/10.0/a/system/reference/SmartClient_Explorer.html#simpleDayLanes
with the following JS at dayLanes.js:
http://pastebin.com/A5xEW8Dn
video: http://screencast.com/t/A6ganrd9mrB

At the moment my workaround is to call calendar.dayView.refreshEvents(); after setLanes, but setLanes is already calling refreshEvents so this is actually a second call.

Am I missing something here?
Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles