Bug in action method for excelHtml5 button

Bug in action method for excelHtml5 button

jmcshan1jmcshan1 Posts: 9Questions: 3Answers: 0
edited August 2015 in Bug reports

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

Answers

This discussion has been closed.