如何解决DayPilot Scheduler 事件调整大小并将不与 ShowNonBusiness 一起使用的拖动到 False 或如果使用 OnIncludeCell 事件
在用于 Asp.Net WebForms 的 DayPilot Scheduler 中,如果 ShowNonBusiness 设置为 false 或者如果我使用 OnIncludeCell 事件隐藏一些时间标题,则事件拖动或调整大小将不起作用。 我使用的是 2020 年发布的 DayPilot 版本,然后升级到 2021 年 3 月的最新版本,并且两者都存在相同的问题。 任何人都有解决这个问题的方法? 这是我的 dps 配置:
<DayPilot:DayPilotScheduler ID="DS"
runat="server"
ClientObjectName="dps1"
Width="100%"
HeightSpec="Fixed"
Height="700"
EventHeight="30"
EventFontSize="11px"
CellDuration="30"
CellGroupBy="Day"
CellWidth="30"
RowHeaderWidthAutoFit="false"
HeaderHeight="20"
HeaderFontSize="8px"
DataStartField="start"
DataEndField="end"
DataTextField="InfoPreview"
DataValueField="id"
DataResourceField="PlantBayId"
DataTagFields="id,name"
ScrollLabelsVisible="false"
EnableViewState="false"
FloatingEvents="false"
BusinessBeginsHour="6"
BusinessEndsHour="22"
ShowNonBusiness="false"
UseEventBoxes="Never"
DynamicLoading="false"
DynamicEventRendering="Disabled"
ProgressiveRowRendering="true"
ProgressiveRowRenderingPreload="30"
ContextMenuID="DayPilotMenuEvents"
ContextMenuSelectionID="DayPilotMenuSelection"
ContextMenuResourceID="DayPilotMenuResources"
OnCommand="OnCommand"
OnBeforeEventRender="OnBeforeEventRender"
OnBeforeTimeHeaderRender="OnBeforeTimeHeaderRender"
OnBeforeCellRender="OnBeforeCellRender"
>
<Resources>
</Resources>
</DayPilot:DayPilotScheduler>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。