ExtGridPanel加載完數據后進行操作示例代碼_extjs
來源:懂視網
責編:小采
時間:2020-11-27 21:24:38
ExtGridPanel加載完數據后進行操作示例代碼_extjs
ExtGridPanel加載完數據后進行操作示例代碼_extjs:比如load數據之后選定某些行數據。 this相當于當前的GridPanel, idxs相當于你要選中的行號 代碼如下: this.store.on(load,function(store) { this.getSelectionModel().selectRows(idxs); //this.selectedRows
導讀ExtGridPanel加載完數據后進行操作示例代碼_extjs:比如load數據之后選定某些行數據。 this相當于當前的GridPanel, idxs相當于你要選中的行號 代碼如下: this.store.on(load,function(store) { this.getSelectionModel().selectRows(idxs); //this.selectedRows

比如load數據之后選定某些行數據。
this相當于當前的GridPanel, idxs相當于你要選中的行號
代碼如下:
this.store.on("load",function(store) {
this.getSelectionModel().selectRows(idxs);
//this.selectedRows = [];
},this);
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
ExtGridPanel加載完數據后進行操作示例代碼_extjs
ExtGridPanel加載完數據后進行操作示例代碼_extjs:比如load數據之后選定某些行數據。 this相當于當前的GridPanel, idxs相當于你要選中的行號 代碼如下: this.store.on(load,function(store) { this.getSelectionModel().selectRows(idxs); //this.selectedRows