Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82616

Datatables 1.10.8 Buttons excelHtml5 export bug

$
0
0

The excelHtml5 Excel export doesn't work if there is no table footer. The reason seems to be this code in buttons.html5.js:

if ( config.header ) {
   xml += addRow( data.footer );
}

It's also not possible to prevent this error by setting the "footer" option to "false" because it only checks for the "header" option. So this won't help:

buttons: [{
extend: 'excelHtml5',
footer: false
}]

When I set the "header" option to "false", it works. But of course the header is also not exported then.

Regards, Lorenz


Viewing all articles
Browse latest Browse all 82616

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>