问题描述: 自己在页面新建一个store,增加和删除 没有和数据库交互
//获得选中的记录
var records = this.up('grid').getSelectionModel().getSelection();
//数组循环,利用store.remove(record)--》删除选中的记录
Ext.Array.each(records, function(item) { store.remove(item); });
转载请注明原文地址: https://ju.6miu.com/read-667968.html