DayPilot.Kanban Constructor

The DayPilot.Kanban constructor creates a Kanban board instance for the specified placeholder <div>.

Declaration

new DayPilot.Kanban(id, [options])

Parameters

  • id (string) - ID of the placeholder <div> element.

  • options (DayPilot.KanbanConfig) - optional configuration object that can define columns, cards, swimlanes, properties, and event handlers.

Notes

After creating the instance, call init() to render the Kanban board.

Example

<div id="dp"></div>

const kanban = new DayPilot.Kanban("dp", {
  // ...
});
kanban.init();

See Also

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript