if (window.lineboxes) {var cells = ;for (var i = 0; i < lineboxes.length; i++) {if (lineboxes.selected()) {cells = lineboxes.options.location;}}contentPane.deleteRows(cells); //批量删除选中的记录contentPane.writeReport(); //保存到数据库,实现的是工具栏中提交的操作}location.reload();