Open arshaw opened 9 years ago
"true" should not be a string, rather just a normal javascript true (no quotes)
Reported by adamrshaw
on 2009-11-21 17:22:53
Thanks a lot Adam.
There were two issues.
1) I was passing the allDay boolean value as a quoted string. This is corrected.
2) This was a data issue. My event time was 1PM EST 21-Nov to 2PM EST 21-Nov.
Converted to IST, this is from 11:30PM 21-Nov to 12:30AM 22-Nov. Consequently, the
Month view shows 2 events one on 21-Nov and another on 22-Nov.
I am exploring the tool to see if there is a way to give a different color
highlighting for events that span allDay compared to other normal events - so that
the month view itself distinguishes b/w all day events and normal events.
Thanks and regards,
Cyriac
Reported by cyriacpeter
on 2009-11-23 08:15:50
in the future, i might put a special css class on all-day events, but you can achieve
this right now w/ eventRender:
eventRender: function(event, element) {
if (event.allDay) {
element.addClass('all-day-event');
}
}
let me know if this helps
Reported by adamrshaw
on 2009-11-27 21:50:28
Reported by adamrshaw
on 2009-11-27 21:51:09
Reported by adamrshaw
on 2010-01-20 05:33:08
Accepted
eventRender: function(event, element) {
if (event.allDay) {
element.addClass('all-day-event');
}
}
This code does not work.
Reported by ajaygiri1379
on 2010-07-30 11:47:10
ajaygiri1379, please enter a new issue and follow the instructions on how to include
a demo (on Support page)
Reported by adamrshaw
on 2010-08-26 05:04:15
Reported by adamrshaw
on 2013-08-14 05:49:52
Issue 1664 has been merged into this issue.
Reported by adamrshaw
on 2013-08-18 19:05:40
Issue 1846 has been merged into this issue.
Reported by adamrshaw
on 2013-08-19 02:12:10
Originally reported on Google Code with ID 203
Reported by
cyriacpeter
on 2009-11-21 14:27:04Imported with 3 stars.