[Bug] PDF Export Button Uncaught Malformed table row, a cell is undefined
[Bug] PDF Export Button Uncaught Malformed table row, a cell is undefined
https://github.com/DataTables/DataTables/issues/1044
Hi,
There is a bug on HTML 5 PDF export button is pressed when there is no data available on tbody. Console.log will print
Uncaught Malformed table row, a cell is undefined.
I have created a jsfiddle to reproduce the bug, the original source code is clone from https://datatables.net/extensions/buttons/examples/html5/simple.html
https://jsfiddle.net/1o9vcv3r/2/
Expected behavior - The PDF export button should work properly likes other export buttons do even though no data is available.
Thank for your time
Best Regards
Replies
Hi,
This has already been resolved and the fix is in the nightly version of Buttons.
Allan
Hi Allan,
Noted with thanks