使用列可见性自定义Export-Pdf对齐方式

时间:2019-07-12 07:43:21

标签: datatable

在pdf格式的个人电子竞技数据表中,电子竞技比赛数据表将由allemanamenti delle Colonne负责,电子竞技比赛将在电子竞技比赛中进行。

exportOptions:{                       列:':visible:not(.not-export-col)',                       正交:“导出pdf”                     },                     自定义:功能(文档){                       var rowCount = doc.content [1] .table.body.length;                       for(i = 1; i                         var tblBody = doc.content [1] .table.body;
                          doc.content [1] .table.body [i] [0] .alignment ='left';                           doc.content [1] .table.body [i] [1] .alignment ='left';                           doc.content [1] .table.body [i] [2] .alignment ='left';                           doc.content [1] .table.body [i] [3] .alignment ='right';                           doc.content [1] .table.body [i] [4] .alignment ='center';                           doc.content [1] .table.body [i] [5] .alignment ='right';                       }

错误的aviviene quando la le Colonne da visualizzare sono inferiori http://live.datatables.net/wafukude/4/edit?js,output

0 个答案:

没有答案