DayPilot.Kanban.cards.list

 Array that holds the card data. Item structure:

  • id
  • name
  • text
  • html (optional - if not specified text will be used)
  • column
  • swimlane (optional)
  • barColor (optional - if not specified the barColor of column will be used)

Example

dp.cards.list = [
  {id: 1, "name": "Task 1", column: "1", text: "This is a description of task #1."},
  {id: 2, "name": "Task 2", column: "1", text: "This is a description of task #2.", barColor: "#ea3624"}
];

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java