How does one installing DataTables Export Plugin?

How does one installing DataTables Export Plugin?

abickfordabickford Posts: 15Questions: 5Answers: 0

Sorry for the stupid question, but is there a CDN for the DataTables Export Plugin?
TIA

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin

    Yes - use the download builder to get the required files.

    Allan

  • kthorngrenkthorngren Posts: 21,443Questions: 26Answers: 4,974

    The docs for the Export Plugin are found in the Buttons Extension page. The easiest way to get the CDN or download the desired extensions is to use the Download Builder.

    Kevin

  • abickfordabickford Posts: 15Questions: 5Answers: 0

    Sorry for being so dense. I don't see an option for the DataTables Export Plugin on the Download Builder page. Can someone point me in the right direction?

    I'm attempting to create a word document from the dataTable, but can't figure out how to access the data rows and columns.
    TIA AB

  • kthorngrenkthorngren Posts: 21,443Questions: 26Answers: 4,974
    edited October 2021 Answer ✓

    There isn't a "Datatables Export Plugin". Datatables has a Buttons Extension which support exporting to the clipboard, excel, csv, pdf, etc. See the examples. However there is no Word export built in.

    but can't figure out how to access the data rows and columns.

    You can use rows().data() with toArray() to get the table data.

    I'm attempting to create a word document from the dataTable,

    You will need to find a third party library to export the HTML page or elements, like table, to a word doc.

    Kevin

Sign In or Register to comment.