grid的多选属性multiselect设置为true,进行多选,然后删除多选数据

  var grid = this.comp("grid1");
  var rowIDs = grid.getCheckeds();//获取多选选中行的id.返回的是list数组
  var data = this.comp("bizData1");
  var rows = [];   
  for(var i=0;i<rowIDs.length;i++){//遍历多选选中的行id 
        rows.push(data.getRowByID(rowIDs[i])) ; //通过行id获取到行,并push到rows中 }
        if (rows.length > 0){  	  
    	  data.deleteData(rows);
  }