DayPilot.Gantt.rows.selection.add

The rows.selection.add() method adds the specified DayPilot.Task to the current row selection.

Declaration

DayPilot.Gantt.rows.selection.add(task);

Parameters

Example

const task = gantt.tasks.find("1");
gantt.rows.selection.add(task);

See Also

DayPilot.Gantt.rows.selection.clear()

DayPilot.Gantt.rows.selection.get()

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript