How to export only displayed rows and columns
How to export only displayed rows and columns
awell
Posts: 4Questions: 2Answers: 0
Using column visibility with export to PDF. rows: ':visible' is working fine within exportOptions, but how could I do this with columns: ':visible' too to also only export the current rows and columns displayed?
Having both or only columns: ':visible' breaks it. Thanks.
exportOptions: {
rows: ':visible'
}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This example works for both rows and columns visible:
http://live.datatables.net/qulobefi/1/edit
If you still have trouble please update the example to replicate your issue so we can help debug.
Kevin
Strange, that's exactly what I was doing. But it seems to be working now. Odd. Thanks!