An array of custom columns that will be displayed in the resources view (viewType="Resources").

Column object structure:

  • id (string): resource id (optional)
  • name (string): column name, will be used to create "html" and "toolTip"
  • start (string or DayPilot.Date): column date (.startDate will be used during initialization if not specified)
  • html (string): HTML to be displayed in the column header (optional)
  • toolTip (string): hover tooltip text (optional)
  • children (array of columns): column children when displaying column hierarchy


dp.columns = [
  { name: "Meeting Room A", id: "A", start: "2015-04-14" },
  { name: "Meeting Room B", id: "B", start: "2015-04-14" },
  { name: "Meeting Room C", id: "C", start: "2015-04-14" }

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