Let's say I have an event that goes from 9:00-10:00, and takes up 2 slots on the scheduler. When I drag that event to a different time, the faded image (while dragging) extends 3 slots, and appears to display over 8:30-10:00, but it will show 9:00-10:00 on the event, and when I release it does in fact save at 9:00-10:00.
I don't think there is really anything too crazy about the properties of my grid, so I'm curious if this is something that has happened before that someone might be able to assist with? Here is the code for my grid just in case:
var
scheduler = $(
"#scheduler"
).kendoScheduler({
date: start,
startTime: start,
endTime: end,
height: 435,
width: 1310,
editable: {
template: $(
"#editor"
).html(),
destroy:
false
,
window: {
title:
"Edit Task"
}
},
footer:
false
,
dataBound:
function
(e) {
CreateDropArea(
this
);
SetColors(e);
},
views: [
{ type:
"timeline"
, majorTick: 60, columnWidth: 50, eventHeight: 40, selected:
true
},
{ type:
"timelineWeek"
, majorTick: 60, columnWidth: 50, eventHeight: 40 }
],
timezone:
"America/Phoenix"
,
group: {
resources: [
"Assigned"
],
orientation:
"vertical"
},
resources: [
{
field:
"AssignedTo"
,
name:
"Assigned"
,
dataSource: {
transport: {
read:
function
(options) {
var
resources = GetResources();
options.success(resources);
}
}
},
title:
"Assigned To"
}
],
dataSource: {
batch:
true
,
transport: {
read:
function
(options) {
var
meetings = GetMeetings();
options.success(meetings);
},
update:
function
(options) {
UpdateMeeting(options.data.models);
},
create:
function
(options) {
CreateMeeting(options.data.models);
},
parameterMap:
function
(options, operation) {
if
(operation !==
"read"
&& options.models) {
return
{ models: kendo.stringify(options.models) };
}
}
},
schema: {
model: {
id:
"meetingId"
,
fields: {
meetingId: { from:
"MeetingId"
, type:
"number"
},
title: { from:
"Title"
, defaultValue:
"No title"
, validation: { required:
true
} },
start: { type:
"date"
, from:
"Start"
},
end: { type:
"date"
, from:
"End"
},
startTimezone: { from:
"StartTimezone"
},
endTimezone: { from:
"EndTimezone"
},
description: { from:
"Description"
},
isAllDay: { type:
"boolean"
, from:
"IsAllDay"
}
}
}
}
}
}).data(
"kendoScheduler"
);