onLoadStart

在从数据源开始加载数据之前触发

void onLoadStart(string url,string type);
urlstring服务器端 URL(可以是静态文件或返回数据的服务器端脚本)
typestring('json', 'xml', 'oldxml') 指定数据格式

Example

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

Details

该事件在 load 方法中触发。

See also
Back to top