Release date: December 30, 2024
Features
-
[Calendar]
DayPilot.Calendar.columnWidthMin allows specifying a minimum column width in `cellWidthSpec="Auto"` mode. It enforces a minimum column width on devices with small screen.
-
[Calendar]
Height of individual column header rows can be set using `headerLevelHeights` (Calendar).
Improvements
-
[Scheduler]
DayPilot.Scheduler.onBeforeCornerExport: args.control added
(build 8582)
-
[Calendar]
Time range selection width reverted to full column width to allow background selection (Calendar).
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.linkWidth property added.
(build 8582)
-
Calling `args.preventDefault()`` in the `onClick` handler of a context menu item prevents the menu from hiding.
(build 8582)
-
[Calendar]
Correctly clearing moving shadow when an external item is dragged out of the Calendar again.
(build 8582)
-
DayPilot.DatePicker.select() method added
(build 8582)
-
[Calendar]
Calendar default theme updated for RTL (duration bar position).
(build 8582)
-
[Calendar]
DayPilot.Calendar.makeDraggable(options): options.remove property supported
(build 8582)
-
[Scheduler]
Selecting multiple ranges without Ctrl or Meta (`multiRangeMode: "Always"`) supported on touch devices (Scheduler).
(build 8582)
-
[Scheduler]
Rendering of RightAngled FinishToStart link improved (Scheduler).
(build 8582)
-
[Calendar]
Top and bottom selection labels let the mouse events pass through (Calendar).
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.onBeforeLinkRender not called for link shadow during event moving anymore.
(build 8582)
-
[Scheduler]
Link type respected when drawing link shadows during event moving (Scheduler).
(build 8582)
-
[Gantt]
DayPilot.Gantt.rows.collapseAll() method added.
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.eventBubbleShowForMargins property added
(build 8582)
-
[Calendar]
Rendering of Calendar in RTL mode improved.
(build 8582)
-
DayPilot.DatePicker.select() method fires onTimeRangeSelect/ed
(build 8582)
-
DayPilot.Menu.update() method added: allows updating a visible context menu on the fly.
(build 8582)
-
[Scheduler]
Improved FinishToFinish curved link path for short distances (Scheduler).
(build 8582)
-
[Calendar]
DayPilot.Calendar.makeDraggable(options): options.onDragStart, options.onDrop handlers added.
(build 8582)
-
[Scheduler]
Multi-range selection properly restored after Scheduler is resized (window resize or DOM change).
(build 8582)
-
[Scheduler]
Rendering of RightAngled FinishToFinish link improved (Scheduler).
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.eventPadding property added (if set, it overrides the CSS theme using inline styles).
(build 8582)
-
[Calendar]
DayPilot.Calendar.eventBorderRadius added (+ args.data.borderRadius in onBeforeEventRender supported).
(build 8582)
-
[Calendar]
Option to define column header height and all-day event height using CSS disabled to improve performance (Calendar).
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.makeDraggable(options): options.externalCursor property supported
(build 8582)
Fixes
-
[Scheduler]
Duplicate rendering of links customized using onBeforeLinkRender fixed (Scheduler).
(build 8582)
-
[Scheduler]
Removing of links customized using onBeforeLinkRender fixed (Scheduler).
(build 8582)
-
[Month]
Check parent node when disposing events - fixed (Month).
(build 8582)
-
[Scheduler]
Scheduler now selects all rows with ID specified using `selectedRows` on startup (not just the first matching row).
(build 8582)
-
[Scheduler]
External drag and drop regression fixed (Scheduler).
(build 8582)
-
[Scheduler]
Pressing Ctrl or Meta (after selecting multiple time ranges in the Scheduler) fired an extra onTimeRangeSelect/ed event - fixed.
(build 8582)
-
[Calendar]
DayPilot.Calendar.events.filter(args): `args.filterParam` initialized properly.
(build 8582)
API Changes
-
[Month]
Cell active areas receive the cell object instead of cell properties as `args.source` in DayPilot.Month.
(build 8582)
-
[Scheduler]
DayPilot.Scheduler.onLinkClick: Type of args.link changed to DayPilot.Link (API change).
(build 8582)