I have created a tool to generate random data, and I have noticed that sometimes the events are wrong rendered.
I have created a simple test case.
1) Go to http://www.smartclient.com/#databoundCalendar
2) In the tab "eventData" paste the following code
3) Click "Try it" button
4) Click the date chooser icon and choose 15th January (2013)
5) Notice that for this date, in both week and day view, the three events are shown, but also there is an empty space in the left
This only happens with specific eventData sets. For example, with the same previous code, just remove the whole "Event 2" and try the test-case again. Now the empty space is not shown and the three events take the whole day width.
I have detected something similar but with an strange events stack in the week view, but before prepare a "simple" eventData set to reproduce it, I prefer wait if this issue fix fixes also this one.
Regards.
I have created a simple test case.
1) Go to http://www.smartclient.com/#databoundCalendar
2) In the tab "eventData" paste the following code
Code:
var eventData = [ { "eventId": "1", "name": "Generated Event", "description": "My Event 1", "startDate": new Date(2012, 11, 29, 5, 0, 0), "endDate": new Date(2012, 11, 29, 24, 0, 0) }, { "eventId": "2", "name": "Generated Event", "description": "My Event 2", "startDate": new Date(2013, 0, 8, 2, 0, 0), "endDate": new Date(2013, 0, 8, 17, 0, 0) }, { "eventId": "3", "name": "Generated Event", "description": "My Event 3", "startDate": new Date(2013, 0, 14, 12, 0, 0), "endDate": new Date(2013, 0, 14, 24, 0, 0) }, { "eventId": "4", "name": "Generated Event", "description": "My Event 4", "startDate": new Date(2013, 0, 15, 2, 0, 0), "endDate": new Date(2013, 0, 15, 18, 0, 0) }, { "eventId": "5", "name": "Generated Event", "description": "My Event 5", "startDate": new Date(2013, 0, 15, 04, 0, 0), "endDate": new Date(2013, 0, 15, 16, 0, 0) }, { "eventId": "6", "name": "Generated Event", "description": "My Event 6", "startDate": new Date(2013, 0, 15, 06, 0, 0), "endDate": new Date(2013, 0, 15, 24, 0, 0) } ];
4) Click the date chooser icon and choose 15th January (2013)
5) Notice that for this date, in both week and day view, the three events are shown, but also there is an empty space in the left
This only happens with specific eventData sets. For example, with the same previous code, just remove the whole "Event 2" and try the test-case again. Now the empty space is not shown and the three events take the whole day width.
I have detected something similar but with an strange events stack in the week view, but before prepare a "simple" eventData set to reproduce it, I prefer wait if this issue fix fixes also this one.
Regards.
Comment