Comment posted by Dan Letecky [DayPilot]
10 years ago.

Very strange. I assume you use the timesheet view (viewType="Days") with non-business hours hidden, right?

It looks like a bug that has been fixed already (offset incorrectly calculated when non-business hours are hidden) - what version of DayPilot do you use?

Comment posted by Shivprasad Acharya
10 years ago.

DayPilot Pro
Copyright (c) 2005 - 2016 Annpoint s.r.o.
http://www.daypilot.org/
Use of this software is subject to license terms.
Version: 2200

No I didn't use viewType="Days" in my codes

Comment posted by Shivprasad Acharya
10 years ago.

I found why that problem is happening.
first scheduler has property set to
$scope.dp.scale = "Day";
and second scheduler has property set to
$scope.dpc.scale = "Hour";
So that when i drag an event from Scheduler1 to Scheduler2 its passing a Day event to Hour event from Scheduler1 to Scheduler2. So that while dragging an event ,the mouse cursor and event shadow is not aligned.
How to solve this Issue? Can anyone help me in this?.
(PS:- I want these 2 properties as it is
$scope.dp.scale = "Day"; and $scope.dpc.scale = "Hour";)
Thank you.

Answer posted by Dan Letecky [DayPilot]
10 years ago.

This issue should be fixed in the latest sandbox build (8.2.2268):

http://javascript.daypilot.org/sandbox/

Let me know if the problem persists.

Comment posted by Shivprasad Acharya
10 years ago.

checked in the latest sandbox build (8.2.2268), but issue still the same.

Comment posted by Shivprasad Acharya
10 years ago.

Still the same Dan Letecky. Same Problem.
I used the following properties.
(For First Scheduler)
dp1.scale = "Day";
dp1.timeHeaders = [
{ groupBy: "Month", format: "MMM yyyy" },

{ groupBy: "Cell" , format: "dd"}
];
(For Second Scheduler)
dp2.timeHeaders = [

{ groupBy: "Day" ,format: "dd MMMM" },
{ groupBy: "Hour"},
{ groupBy: "Cell" }
];
dp2.cellDuration = 30;

with both has property "dp1.dragOutAllowed = true;" and "dp2.dragOutAllowed = true;"

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.