The rows.find() method returns the row with the specified id.


Search using row id:

DayPilot.Scheduler.rows.find(id[, start]);

Search using a function (since version 2019.4.4153):

DayPilot.Scheduler.rows.find(f[, startIndex]);


  • id (string | number) - id of the resource
  • start (string) - start date of the row (for viewType="Days") in ISO format ("2020-01-31T00:00:00"), optional
  • f (function) - find function that returns true if the criteria is met
  • startIndex (number) - start searching at this row index

Find function syntax:

function f(row) {}

Find function parameters:

Return Value

DayPilot.Row object if the row is found, otherwise null