Zum Hauptinhalt springen

setParent

Description

Einem Task einen Parent zuweisen

setParent: (task: Task, pid: number | string) => void

Parameters

  • task - (required) Task - das Task-Objekt
  • pid - (required) number | string - die ID des Parent-Tasks

Example

gantt.setParent(gantt.getTask(2), 20);
gantt.updateTask(2);
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.