DayPilot Pro for JavaScript 2020.2.4389

Release date: May 1, 2020

Features

  • Active areas for upper-left corner (Scheduler)
  • Row header column hiding (Scheduler) [tutorial]
  • Row header column hiding (Gantt chart) [tutorial]
  • Active areas for event versions (Scheduler)
  • Active areas for event versions (Gantt chart)
  • Multi-range selection API (Scheduler)

Improvements

  • [Scheduler] DayPilot.Scheduler.multiselect.get() added as an alias to multiselect.events() - api unification (build 4346)
  • [Scheduler] DayPilot.Scheduler.multirange.get() (build 4346)
  • [Scheduler] DayPilot.Scheduler.multirange.clear() (build 4349)
  • [Scheduler] DayPilot.Scheduler.onRectangleSelecting(args): args.resources supported (build 4351)
  • [Scheduler] DayPilot.Scheduler.multirange.add({start, end, resource}) (build 4352)
  • [Scheduler] DayPilot.Scheduler.onRectangleSelecting(args): args.visible (build 4353)
  • [Scheduler] DayPilot.Scheduler.onBeforeCornerRender supports args.areas. (build 4372)
  • [Scheduler] DayPilot.Scheduler.rowHeaderColumns[].hidden supported (build 4373)
  • [Calendar] DayPilot.Calendar.onEventMoving: args.external added (build 4374)
  • [Gantt] DayPilot.Gantt.onBeforeCornerRender added (build 4376)
  • [Gantt] DayPilot.Gantt.columns[].hidden supported (build 4376)
  • [Gantt] DayPilot.Gantt.columns[] - "display" added as an alias to "property", "name" added as an alias to "title" (Scheduler compatibility) (build 4376)
  • [Gantt] DayPilot.Gantt.columns[] - "text" added as an alias to "title", applicable during image export (Scheduler compatibility) (build 4376)
  • [Scheduler] DayPilot.Scheduler: All columns accessible in the original order as args.row.columns[] in onBeforeRowHeaderRender even if some columns are hidden (rowHeaderColumns[].hidden). (build 4378)
  • [Calendar] DayPilot.Calendar.makeDraggable(options) - supports options.externalCursor (overrides the default "move" cursor if specified). (build 4381)
  • [Scheduler] watchWidthChanges records the initial width without delay during init(). (build 4383)
  • [Calendar] Global table margin overridden to prevent unwanted hour header offset (Calendar). (build 4384)
  • [Scheduler] Active areas supported in event versions (Scheduler): data.versions[].areas[] (not supported during image export) (build 4384)

Fixes

  • [Scheduler] DayPilot.Scheduler.onTimeRangeSelect/ed shouldn't be fired when time range context menu is opened using right click, with allowMultiRange enabled (fixed). (build 4357)
  • [Bubble] First bubble display incorrectly canceled in Angular - fixed. (build 4370)
  • [Calendar] DayPilot.Calendar.onEventMove/onEventResize: calling args.preventDefault() should clear the shadow - fixed. (build 4371)
  • [Calendar] Crosshair highlighting fixed in IE11 (Calendar). (build 4378)
  • Text clipping during image export fixed (JPEG, PNG). (build 4382)
  • [Scheduler] Event version mouse down shouldn't propagate to the Scheduler grid (fixed). (build 4388)

API Changes

  • [Scheduler] DayPilot.Scheduler.range.all() renamed to DayPilot.Scheduler.multirange.get(). (build 4350)
  • [Scheduler] DayPilot.Scheduler.multiSelectRectangle replaced by rectangleSelectHandling ("Disabled" | "Enabled" | "EventSelect") and rectangleSelectMode ("Free" | "Row"). Backwards compatible, TypeScript definitions switched to new api (API change). (build 4354)
  • [Scheduler] DayPilot.Scheduler.onRectangleEventSelect, onRectangleEventSelected, onRectangleEventSelecting renamed to onRectangleSelect, onRectangleSelected, onRectangleSelecting. Backwards compatible, TypeScript definitions switched to new api (API change). (build 4354)