엑셀저장 수정

main
이범준 9 months ago
parent 349ac9b193
commit 39c51fb4a8

@ -286,13 +286,16 @@ function getCellDefs($th, $td){
for(var i=0; i < $th.length; i++){
var label = $th.eq(i).text();
label = label.replace("\n", "");
label = label.replace("\t", "");
label = label.replace(" ", "");
if(label != ""){
var width = $th.eq(i).outerWidth();
width = Math.ceil(width/10) + 2;
var field;
var field = "";
if($td.eq(i).hasClass("privacy-cell")){
field = $td.eq(i).find("span:eq(0)").text();
} else {
@ -300,6 +303,9 @@ function getCellDefs($th, $td){
}
field = field.replace("{", "");
field = field.replace("}", "");
field = field.replace("\n", "");
field = field.replace("\t", "");
field = field.replace(" ", "");
var cellDef = {
label : label,

Loading…
Cancel
Save