DayPilot.Calendar.columns.load

The columns.load() methods loads resource data directly from the specified URL using an AJAX call.

The HTTP method (GET/POST) is specified using columnsLoadMethod property.

Syntax

DayPilot.Calendar.columns.load(url[, success[, error]]);

Parameters

  • url (string) - JSON endpoint URL

  • success (function) - success event handler

  • error (function) - error event handler

Example

dp.columns.load("/api/resources", function(args) {
  dp.message("Resources loaded");
});