甘特图 API事件onLoadStart页面内容onLoadStart Description 在从数据源开始加载数据之前触发 onLoadStart: (url: string, type: string) => void;Parameters url - (required) string - 服务器端 URL(可以是静态文件或返回数据的服务器端脚本) type - (required) string - ('json', 'xml', 'oldxml') 指定数据格式 Examplegantt.attachEvent("onLoadStart", function(url, type){ console.log("onLoadStart", url, type)});Details该事件在 load 方法中触发。Related API onBeforeParse onTaskLoading onParse onBeforeGanttRender onBeforeDataRender onDataRender onGanttRender onLoadEnd