【文件属性】:
文件名称:按查询条件过滤行.txt
文件大小:2KB
文件格式:TXT
更新时间:2020-04-21 11:29:20
Ext隐藏行 ext grid 删除行
ext grid列表中,通过查询条件隐藏指定的行数据,或者删除它,附件是主要代码,仅供参考,代码片段:
arSoftwareRequireStore.each(function(record, index) { //get的名字要与Store绑定的Model的名字是一样的
// var info = record.get('rdPlanTime'); // 获取指定的参数
// 通过条件判断,是否需要选中
if (record.get('caProgress') < 100) {
arSoftwareRequireGrid.getSelectionModel().select(record, true);
}
});