DayPilot.Gantt.onRowMoving

Fired during drag and drop row moving, whenever the position changes.

Declaration

DayPilot.Gantt.onRowMoving(args)

Parameters

  • args.source (DayPilot.Task)
  • args.target (DayPilot.Task)
  • args.position (string) - "child" | "before" | "after" | "forbidden"

Description

You can modify the args.position value to "forbidden" if you want to forbid the target position.

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java