2017-03-22 42 views
0

謝謝你! 我遇到一個問題,當我打開一個網格和moveLast(),但我不能選擇最後一排,這裏是我的代碼:如何在移動到最後一頁時選擇extjs網格中的最後一條記錄

var store = this.getMyOwnStoreStore().load({ 
 
    scope : this, 
 
    callback : function(){ 
 
    Ext.getCmp("pagingtoolbarId").moveLast(); 
 
    Ext.getCmp("gridId").getSelectionModel().select(theLastRowNumber -1); 
 

 
    } 
 
})
但是當我運行的代碼,我不能得到最後一頁的記錄!

回答

相關問題