只能删除一行,var checkRow = Ext.getCmp(_id).getSelectionModel().getSelections();//获取选中行
if(checkRow.length>0){
for(var i=0;i<checkRow.length; i++){
if(checkRow[i] != undefined)
{
var _url = 'dasInfo/destroyInfo.do?infoId='+checkRow[i].get('infoId');
deleteObj(_url,null,grid);
}
}
}
if(checkRow.length>0){
for(var i=0;i<checkRow.length; i++){
if(checkRow[i] != undefined)
{
var _url = 'dasInfo/destroyInfo.do?infoId='+checkRow[i].get('infoId');
deleteObj(_url,null,grid);
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货