加载结束事件:
ms = $('.html-content').length;//判断是否为多sheetif (ms != 0){//多sheetff=$(".frozen-table",$('.html-content:visible')).length//判断当前sheet是否有冻结if (ff == 0) {//未冻结var slmargin = ($(".content-container").width()-$(".sheet-container div:first-child",$('.html-content:visible')).width())/2;if (slmargin > 0) {$('.sheet-container',$('.html-content:visible')).css('margin-left',slmargin); //$(".x-table",$('.html-content:visible')).css('left',slmargin);$(window).resize();}}