Skip to main content

onLoadStart

Description​

Fires immediately before loading data from the data source has been started

onLoadStart: (url: string, type: string) => void;

Parameters​

  • url - (required) string - the server-side url (may be a static file or a server side script that outputs data)
  • type - (required) string - ('json', 'xml', 'oldxml') the data type

Example​

gantt.attachEvent("onLoadStart", function(url, type){
console.log("onLoadStart",url, type)
});

Details​

The event fires in the load method.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.