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