Last active
August 29, 2015 14:08
-
-
Save SpencerCooley/bde16a763785522c2d62 to your computer and use it in GitHub Desktop.
datasource object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sampleExistingData = [ | |
{ | |
id: 1, | |
start: new Date("2013/5/6 08:00 AM"), | |
end: new Date("2013/5/6 10:00 AM"), | |
title: "Available To Volunteer", | |
}, | |
{ | |
id: 6, | |
start: new Date("2013/5/6 11:00 AM"), | |
end: new Date("2013/5/6 1:00 PM"), | |
title: "Available To Volunteer", | |
}, | |
{ | |
id: 2, | |
start: new Date("2013/5/7 08:00 AM"), | |
end: new Date("2013/5/7 10:30 AM"), | |
title: "Available To Volunteer", | |
}, | |
{ | |
id: 3, | |
start: new Date("2013/5/8 08:00 AM"), | |
end: new Date("2013/5/8 11:30 AM"), | |
title: "Available To Volunteer", | |
}, | |
{ | |
id: 4, | |
start: new Date("2013/5/9 08:00 AM"), | |
end: new Date("2013/5/9 1:00 PM"), | |
title: "Available To Volunteer", | |
}, | |
{ | |
id: 5, | |
start: new Date("2013/5/10 08:00 AM"), | |
end: new Date("2013/5/10 3:00 PM"), | |
title: "Available To Volunteer", | |
}, | |
] |
Oh yeah, and isAllDay is not needed as well.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We may not need the title attribute since it will be the same all of the time. I actually auto set it when a new event is created.