跳到主要内容

onLoadEnd

Description

当数据从源完全加载完成时触发

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

Parameters

  • url - (required) string - 服务器的URL(可以是静态文件或返回数据的服务器端脚本)
  • type - (required) string - ('json', 'xml', 'oldxml') 指定加载的数据类型

Example

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