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);
this相当于当前的GridPanel, idxs相当于你要选中的行号
复制代码 代码如下:
this.store.on("load",function(store) {
this.getSelectionModel().selectRows(idxs);
//this.selectedRows = [];
},this);
上一篇:SqlParser 一个利用正则表达式解析单句SQL的类
栏 目:
本文标题:Ext GridPanel加载完数据后进行操作示例代码
本文地址:http://www.codeinn.net/misctech/30710.html






