if(window.lineboxes) { var cells = []; for (var i = 0; i < lineboxes.length; i++) { if (lineboxes[i].selected()) { var cr=FR.cellStr2ColumnRow(window.lineboxes[i].options.location); //获取勾选复选框所在行列 var a=contentPane.getCellValue(0,2,0); _g().setCellValue(10, cr.row, a); //逐一赋值,这里列号列序号,第一列是0,第2列为1,依次类推 } }
} |