When I drag and event on the calendar the shadow highlight is highlighting the wrong resource column.
This is at the day view for multiple resources.
It seems to change column when your mouse is half way through the column to the right.
You can see in the attachment, the highlight to the "Right" is where the mouse cursor is, and the darker highlight on the "Left" is where the event will end up.
This is how it is setup:
@Html.DayPilotCalendar("dp", new DayPilotCalendarConfig
{
BackendUrl = Url.Action("ViewCalendarDay", "Home"),
ViewType = ViewType.Resources,
HeaderLevels = 2,
TimeFormat = DayPilot.Web.Mvc.Enums.TimeFormat.Clock12Hours,
TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.JavaScript,
TimeRangeSelectedJavaScript = "CreateCalendarItem(start, end, resource)",
TimeRangeDoubleClickHandling = TimeRangeDoubleClickHandlingType.JavaScript,
TimeRangeDoubleClickJavaScript = "CreateAppointment(start, end, resource)",
EventDeleteHandling = EventDeleteHandlingType.JavaScript,
EventDeleteJavaScript = "DeleteCalendarItem(e)",
EventClickHandling = EventClickHandlingType.Select,
AllowMultiSelect = false,
EventSelectJavaScript = "VerifyEventSelect(e)",
EventSelectHandling = EventSelectHandlingType.JavaScript,
EventDoubleClickHandling = EventDoubleClickHandlingType.JavaScript,
EventDoubleClickJavaScript = "OpenServiceActivity(e)",
EventMoveHandling = EventMoveHandlingType.JavaScript,
EventMoveJavaScript = "EventMoveUpdate(e, newStart, newEnd, newResource, external, ctrl, shift)",
EventResizeHandling = EventResizeHandlingType.JavaScript,
EventResizeJavaScript = "EventResize(e, newStart, newEnd)",
//ContextMenuSelection = "menu_selection",
CellSelectColor = "#f2f2f2",
//Width = "100%",
ColumnWidthSpec = DayPilot.Web.Mvc.Enums.Calendar.ColWidthSpec.Fixed,
ColumnWidth = 200,
//ColumnMarginRight = 100,
CellDuration = 15,
ShowToolTip = true,
EventArrangement = DayPilot.Web.Mvc.Enums.Calendar.ArrangementType.SideBySide,
HeaderHeight = 60,
UseEventBoxes = DayPilot.Web.Mvc.Enums.UseBoxes.Never,
HeightSpec = DayPilot.Web.Mvc.Enums.Calendar.HeightSpec.Fixed,
Height = 880,
Crosshair = DayPilot.Web.Mvc.Enums.Calendar.CrosshairType.Disabled
})
Version: 2018.1.5936.0