Gantt - attachEvent事件监听 - 无参数事件
onAfterBatchUpdate -?在調用batchUpdate方法后觸發(批量更新后)
void?onAfterBatchUpdate?(){ ... };
gantt.attachEvent("onAfterBatchUpdate", function() {// do something });?onAfterLightbox -?在用戶關閉燈箱后觸發(編輯表單)
void?onAfterLightbox?(){ ... };
gantt.attachEvent("onAfterLightbox", function () {// do something });?onBeforeBatchUpdate?-?在調用batchUpdate方法之前觸發(批量更新前)
void?onBeforeBatchUpdate?(){ ... };
gantt.attachEvent("onBeforeBatchUpdate", function () {// do something });?onBeforeDataRender -?在頁面上呈現數據之前觸發
void?onBeforeDataRender?(){ ... };
gantt.attachEvent("onBeforeDataRender", function () {// do something });?onBeforeGanttReady -?在 dhtmlxGantt 初始化開始之前觸發
void?onBeforeGanttReady?(){ ... };
gantt.attachEvent("onBeforeGanttReady", function () {// do something });?onBeforeGanttRender -?在頁面上呈現甘特圖之前觸發
void?onBeforeGanttRender?(){ ... };
gantt.attachEvent("onBeforeGanttRender", function () {// do something });?onBeforeParse -?在開始解析數據之前觸發
void?onBeforeParse?(){ ... };
gantt.attachEvent("onBeforeParse", function () {// do something });?onClear?-?從甘特圖中刪除所有任務后觸發
void?onClear?(){ ... };
gantt.attachEvent("onClear", function () {// do something });?onCollapse?-?當甘特圖從全屏模式返回正常模式時觸發
void?onCollapse?(){ ... };
gantt.attachEvent("onCollapse", function () {// do something });?onDataRender?-?在頁面上呈現數據后觸發
void?onDataRender?(){ ... };
gantt.attachEvent("onDataRender", function () {// do something });?onDestroy?-?在析構函數方法清除甘特圖后調用
void?onDestroy?(){ ... };
gantt.attachEvent("onDestroy", function () {// do something });?onExpand?-?當甘特圖擴展到全屏時觸發
void?onExpand?(){ ... };
gantt.attachEvent("onExpand", function () {// do something });?onGanttLayoutReady?-?在甘特布局準備好之后但在呈現之前觸發
void?onGanttLayoutReady?(){ ... };
gantt.attachEvent("onGanttLayoutReady", function () {// do something });?onGanttReady?-?在 dhtmlxGantt 初始化完成但甘特圖尚未在頁面上呈現后觸發
void?onGanttReady?(){ ... };
gantt.attachEvent("onGanttReady", function () {// do something });?onGanttRender?-??在頁面上呈現甘特圖后觸發
void?onGanttRender?(){ ... };
gantt.attachEvent("onGanttRender", function () {// do something });?onLoadEnd?-??從數據源加載數據完成后觸發
void?onLoadEnd?(){ ... };
gantt.attachEvent("onLoadEnd", function () {// do something });?onLoadStart?-?在開始從數據源加載數據之前立即觸發
void?onLoadStart?(){ ... };
gantt.attachEvent("onLoadStart", function () {// do something });?onOptionsLoad?-??從服務器加載一組選項后觸發,但尚未解析
void?onOptionsLoad?(){ ... };
gantt.attachEvent("onOptionsLoad", function () {// do something });?onParse?-??在解析數據之后觸發(可用于 API)但在甘特圖中呈現之前
void?onParse?(){ ... };
gantt.attachEvent("onParse", function () {// do something });?onScaleAdjusted?-??當重新渲染比例以完全顯示所有任務時觸發(按比例調整)
void?onScaleAdjusted?(){ ... };
gantt.attachEvent("onScaleAdjusted", function () {// do something });?onTemplatesReady?-??當 dhtmlxGantt 模板初始化時觸發(模板就緒)
void?onTemplatesReady?(){ ... };
gantt.attachEvent("onTemplatesReady", function () {// do something });Gantt - attachEvent事件監聽https://mp.csdn.net/mp_blog/creation/editor/121919688
總結
以上是生活随笔為你收集整理的Gantt - attachEvent事件监听 - 无参数事件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 群聊服务端
- 下一篇: Express全系列教程之(十):渲染j