Bug in action method for excelHtml5 button
Bug in action method for excelHtml5 button
jmcshan1
Posts: 9Questions: 3Answers: 0
I'm getting an error on the export to excel. I've debugged through it and I think it comes from these lines:
if ( config.header ) {
xml += addRow( data.header );
}
for ( var i=0, ien=data.body.length ; i<ien ; i++ ) {
xml += addRow( data.body[i] );
}
if ( config.header ) {
xml += addRow( data.footer );
}
I think the bottom if should be config.footer
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This was fixed in Buttons 1.0.1.
Thanks, I see that now.