How to export only visible records.

How to export only visible records.

juncofuertejuncofuerte Posts: 1Questions: 1Answers: 0

I am using DataTables-1.10.20, where I apply a search filter, so that only a set of records is visible. The question is how can I export only these visible records to excel and not all the records in the table? Is there a parameter that allows me to export or print only the visible records in the Datatable? Thank you.

Answers

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

    You can use exportOptions for that - see example here.

    Colin

This discussion has been closed.