Im not seeing any events. I think it might be the format on start and end.
This is my schedule options:
$scope.schedulerOptions = {
date:
new
Date(
"2015/12/28"
),
startTime:
new
Date(
"2015/12/28 07:00 AM"
),
views: [
"day"
,
{ type:
"workWeek"
, selected:
true
},
"week"
,
"month"
,
],
timezone:
"Etc/UTC"
,
dataSource: {
data: $scope.panel.entities,
schema: {
model: {
id:
"taskId"
,
fields: {
taskId: { from:
"taskID"
, type:
"number"
},
title: { from:
"title"
, defaultValue:
"No title"
, validation: { required:
true
} },
start: { type:
"date"
, from:
"start"
},
end: { type:
"date"
, from:
"end"
}
}
}
},
},
};
And the json string in $scope.panel.entities looks like this:
{
"date"
:
"2015-12-27T23:00:00.000Z"
,
"startTime"
:
"2015-12-28T06:00:00.000Z"
,
"views"
:["
day",{
"type"
:
"workWeek"
,
"selected"
:
true
},
"week"
,
"month"
],
"timezone"
:
"Etc/UTC"
,
"dataSource"
:{
"data"
:[{
"taskId"
:1,
"title"
:
"Skoter"
,
"start"
:
"2015-12-29T08:00:00Z"
,
"end"
:
"2015-12-29T13:00:00Z"
,
"description"
:
"Åka skoter"
,
"ownerId"
:1
}],
"schema"
:{
"model"
:{
"id"
:
"taskId"
,
"fields"
:{
"taskId"
:{
"from"
:
"taskID"
,
"type"
:
"number"
},
"title"
:{
"from"
:
"title"
,
"defaultValue"
:
"No title"
,
"validation"
:{
"required"
:
true
}
},
"start"
:{
"type"
:
"date"
,
"from"
:
"start"
},
"end"
:{
"type"
:
"date"
,
"from"
:
"end"
},
"description"
:{
"from"
:
"description"
},
"ownerId"
:{
"from"
:
"ownerID"
,
"defaultValue"
:1
}
}
},
"timezone"
:
"Etc/UTC"
},
"filter"
:{
"logic"
:
"or"
,
"filters"
:[{
"field"
:
"ownerId"
,
"operator"
:
"eq"
,
"value"
:1
},{
"field"
:
"ownerId"
,
"operator"
:
"eq"
,
"value"
:2
}
]}
}}