function merge_quadefect() { //可实现合并单元格,上下行来比较
//debugger;
var totalCols = 7; 列数
var totalRows = $("#tbSummary_@ctr").find("tr").length;
for (var i = totalCols - 1; i >= 0; i--) {
for (var j = totalRows - 1; j >= 1; j--) {
startCell = $("#tbSummary_@ctr").find("tr").eq(j).find("td").eq(i);
targetCell = $("#tbSummary_@ctr").find("tr").eq(j - 1).find("td").eq(i);
if (startCell.text() == targetCell.text() && targetCell.text() != "") {
targetCell.attr("rowSpan", (startCell.attr("rowSpan") == undefined) ? 2 : (eval(startCell.attr("rowSpan")) + 1));
startCell.remove();
}
}
}
}