There is bug in the datatable.min.js

There is bug in the datatable.min.js

govindagovinda Posts: 1Questions: 0Answers: 0

While exporting the data in the Excel, if there is blank field, then content of excel is shifting the place to blanks. It makes wrong the file.

To fix this: following code, in bold, is removed from the datatable.min.js:

if(null===t[e]||t[e]===k||""===t[e]){if(!0!==s.createEmptyCells)continue;t[e]=""}

Replies

  • allanallan Posts: 62,990Questions: 1Answers: 10,367 Site admin

    There is bug in the datatable.min.js

    One? I'd take that!

    The source code for that line is here.

    I tried to recreate the issue with this example but was unable to do so.

    Can you link to a test case showing the problem please, or update mine to demonstrate it?

    Allan

Sign In or Register to comment.