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.