Ext GridPanel加载完数据后进行操作示例代码

2019-12-21,,,,

比如load数据之后选定某些行数据。

this相当于当前的GridPanel, idxs相当于你要选中的行号
复制代码 代码如下:
this.store.on("load",function(store) {
this.getSelectionModel().selectRows(idxs);
//this.selectedRows = [];
},this);

《Ext GridPanel加载完数据后进行操作示例代码.doc》

下载本文的Word格式文档,以方便收藏与打印。