var totalnumber =0;var cellsText =0;
totalnumber =$("tr[tridx=4]","div.content-container").children().eq(4).text();//alert(totalnumber);//获取A1单元格的值 for(var i =4; i <_g().getRowCount(); i++){
cellsText =$("tr[tridx="+i+"]","div.content-container").children().eq(1).text();if(cellsText =="小计"){$("tr[tridx="+ i +"]","div.content-container").children().eq(0).attr("colspan",4);//当前单元格往后合并三列$("tr[tridx="+ i +"]","div.content-container").children().css("font-weight","bolder");$("tr[tridx="+ i +"]","div.content-container").children().css("background-color","rgba(0,0,255,0.5)");};}