Перейти к основному содержимому

onLoadStart

Description

Срабатывает непосредственно перед началом загрузки данных из источника данных

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

Parameters

  • url - (обязательный) string - URL сервера (может быть статическим файлом или серверным скриптом, который возвращает данные)
  • type - (обязательный) string - ('json', 'xml', 'oldxml') тип данных

Example

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

Details

Событие срабатывает в методе load.

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.