当前位置:主页 > >

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

时间:2020-12-08 23:09:03 | 栏目: | 点击:

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

this相当于当前的GridPanel, idxs相当于你要选中的行号
复制代码 代码如下:

this.store.on("load",function(store) {
this.getSelectionModel().selectRows(idxs);
//this.selectedRows = [];
},this);

您可能感兴趣的文章:

相关文章