DayPilot.Gantt.tasks.find

Finds a task by its id.

Declaration

DayPilot.Gantt.tasks.find(id);

Parameters

  • id - the task id to be found

Note: The id is converted to string using .toString() and then compared using ===.

Return Value

DayPilot.Task object if the task is found, otherwise null.