DayPilot.Scheduler.rows.load

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

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

Syntax

DayPilot.Scheduler.rows.load(url[, success[, error]]);

Parameters

  • url (string) - JSON endpoint URL
  • success (function) - success event handler
  • error (function) - error event handler

Example

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