The columns.find() method returns the column that matches the specified start date and optional resource id.
Declaration
DayPilot.Calendar.columns.find(start[, id])Parameters
start(string) - column start date in ISO format, for example"2025-01-31T00:00:00"id(string | number) - resource id used in resource calendar mode (optional)
Return Value
Returns the matching DayPilot.Column object, or null if no column matches the supplied values.
Notes
Use the optional id parameter in Resources view when multiple columns can share the same start date.
Example
const column = dp.columns.find("2025-01-31T00:00:00", "R1");See Also
Resource-Scheduling Calendar [doc.daypilot.org]
Column Filtering [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot