load(url, callback)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxscheduler.js

load data from external file

  • url - the server side url ( may be a static xml or server side script which outputs data as XML )
  • type - the type of loading data
  • callback - callback method, optional

Supported data formats

   scheduler.load("data.xml");
   scheduler.load("data.php",function(){
          alert("data loaded");
   });
   scheduler.load("data.ical","ical"); //loading data in ical format
   scheduler.load("data.json","json"); //loading data in ical format