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.
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
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.
Answers
Yes - use the download builder to get the required files.
Allan
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
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
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.
You can use
rows().data()
withtoArray()
to get the table data.You will need to find a third party library to export the HTML page or elements, like
table
, to a word doc.Kevin