[Bug] PDF Export Button Uncaught Malformed table row, a cell is undefined

[Bug] PDF Export Button Uncaught Malformed table row, a cell is undefined

xiaoproxiaopro Posts: 2Questions: 0Answers: 0

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

This discussion has been closed.