How does one installing DataTables Export Plugin?

How does one installing DataTables Export Plugin?

abickfordabickford Posts: 3Questions: 2Answers: 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: 54,881Questions: 1Answers: 8,601 Site admin

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

    Allan

  • kthorngrenkthorngren Posts: 14,086Questions: 25Answers: 3,322

    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: 3Questions: 2Answers: 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: 14,086Questions: 25Answers: 3,322
    edited October 11 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.