Bug in Buttons - Export to Excel

Bug in Buttons - Export to Excel

anishanish Posts: 9Questions: 5Answers: 0

In the export to excel option in function 'action' there is a fragment like

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

Instead of checking config.header it should probably be checking config.footer, like so

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

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,052Questions: 1Answers: 10,559 Site admin
    Answer ✓

    Hi,

    This is a packaging error in the DataTables 1.10.8 zip package. The CDN version of Buttons has the fix for this in place. It was a last minute fix that didn't make it into the DataTables zip. I'll update it shortly.

    Regards,
    Allan

  • anishanish Posts: 9Questions: 5Answers: 0

    Thanks a ton. Great tool and the new button plugin works great :-)

This discussion has been closed.