search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DayPilot.Gantt.onTaskMoving and DayPilot.Gantt.onTaskMoved broken in 2024.2.5936

Asked by Leo
12 days ago.

Hi there,

in 2024.2.5936, the Gantt chart seems broken. Our previously working code stopped working with the new version.

DayPilot.Gantt.onTaskMoving no longer influences the start and end positions. Setting args.start and args.end does nothing anymore.

DayPilot.Gantt.onTaskMoved no longer includes args. When doing console.log(args) it just returns undefined.

Additionally, you introduced a breaking change that was undocumented: DayPilot.Gantt.onTaskMoving would previously include args.e and now instead uses args.task - which is fine, but I would expect such breaking changes to be mentioned in the changelog.

Answer posted by Dan Letecky [DayPilot]
11 days ago.

Sorry for the troubles!

These issues (onTaskMoved and onTaskMoving) should be fixed now in the latest sandbox build (2024.2.5939). These fixes will be included in the next release, which will be available later today.

In some places, there are internal properties available that were not intentionally exposed (such as args.e in onTaskMoving). These properties are not present in the API documentation or the TypeScript definitions. We are working to remove them to prevent accidental dependencies.

New Reply
This reply is
or drop files here
Your name (optional):