The links.load() methods loads link data directly from the specified URL using an AJAX call.
Syntax
DayPilot.Scheduler.links.load(url[, success[, error[, options]]]);
Parameters
- url (string) - JSON endpoint URL
- success (function) - success event handler
- error (function) - error event handler
- options (object) - additional options: dontAddStartEnd (boolean) - doesn't add the viewport start and end dates to the query string
Example
dp.links.load("/api/links", function(args) {
dp.message("Links loaded");
});