Skip to content

Instantly share code, notes, and snippets.

@SpencerCooley
Created October 24, 2014 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpencerCooley/12c969b6019686948af4 to your computer and use it in GitHub Desktop.
Save SpencerCooley/12c969b6019686948af4 to your computer and use it in GitHub Desktop.
var thing = $("#scheduler").kendoScheduler({
date: new Date("2013/5/6"),
showWorkHours: true,
views: [
"day",
{ type: "workWeek", selected: true },
"week",
"month",
"agenda"
],
height: 400,
dataSource: [
{
id: 1,
start: new Date("2013/5/6 08:00 AM"),
end: new Date("2013/5/6 010:00 AM"),
isAllDay: false,
title: "Interview",
attendees: [1,2]
},
{
id: 2,
start: new Date("2013/7/6 08:00 AM"),
end: new Date("2013/7/6 010:00 AM"),
isAllDay: false,
title: "Interview",
attendees: [1,2]
}
],
resources: [
{
field: "attendees",
dataSource: [
{ value: 1, text: "Alex" },
{ value: 2, text: "Bob" }
],
multiple: true
}
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment