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

前端技术 2023/09/06 JavaScript
比如load数据之后选定某些行数据。

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

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

本文地址:https://www.stayed.cn/item/15622

转载请注明出处。

本站部分内容来源于网络,如侵犯到您的权益,请 联系我

我的博客

人生若只如初见,何事秋风悲画扇。