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.
DayPilot.Calendar.columns.load(url[, success[, error]]);
url
(string) - JSON endpoint URL
success
(function) - success event handler
error
(function) - error event handler
dp.columns.load("/api/resources", function(args) {
dp.message("Resources loaded");
});