Exporting A Table With Multiple tags

Exporting A Table With Multiple tags

intelwalkintelwalk Posts: 1Questions: 1Answers: 0

I've got a magical piece of front end code that makes a report but it has multiple tbodys in the html to get the format we need. I can't get it DataTables to export it correctly since it has more than one tbody tags. Is there a way for me to export this without rewriting the report just for the format?

Thanks

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You'll need to rewrite the report I'm afraid. As it says on the installation page:

    For DataTables to be able to enhance an HTML table, the table must be valid, well formatted HTML, with a header (thead) and a single body (tbody). An optional footer (tfoot) can also be used.

    Colin

Sign In or Register to comment.