This commit is contained in:
hylee 2024-09-10 11:01:19 +09:00
commit 2b1269ac28
2 changed files with 12 additions and 2 deletions

View File

@ -97,7 +97,13 @@ $(document).ready(function(){
colIdx = colIdx / 2;
colIdx = colIdx - 1;
$(".select_adr_hd div").eq(colIdx).width(colWid);
if(titleIndex != 0){
$(".select_adr_hd div").eq(colIdx).width(colWid);
console.log("d1")
}else{
console.log("a1")
$(".select_adr_hd div").eq(0).width(colWid+40);
}
})
})
})

View File

@ -72,7 +72,11 @@ $(document).ready(function(){
console.log(titleIndex)
if(titleIndex != 0){
$('.select_adr_hd>div').eq(titleIndex).css('width', column._column.width);
}else{}
console.log("d")
}else{
console.log("a")
$('.select_adr_hd>div').eq(0).css('width', column._column.width + 40);
}
});
$tableExcel.on("scrollHorizontal",function(left){