diff --git a/src/main/webapp/resources/js/base/base-fims.js b/src/main/webapp/resources/js/base/base-fims.js index fe7754ee..966ea275 100644 --- a/src/main/webapp/resources/js/base/base-fims.js +++ b/src/main/webapp/resources/js/base/base-fims.js @@ -153,10 +153,13 @@ $.fn.getHeaderInfo = function() { this.each(function(){ var title = $(this).text(); - excelTitle.push(title); - var titleWidth = $(this).outerWidth(); - titleWidth = Math.ceil(titleWidth/10); - excelTitleWidth.push(titleWidth); + + if(title != ""){ + excelTitle.push(title); + var titleWidth = $(this).outerWidth(); + titleWidth = Math.ceil(titleWidth/10) + 2; + excelTitleWidth.push(titleWidth); + } }); return {