How to export Filtered Table

How to export Filtered Table

yans_fiedyans_fied Posts: 1Questions: 0Answers: 0
edited May 2013 in TableTools
Well, tableTools is great plugin for exporting datatable to many type starting from just copying it to exporting into pdf, but how to get ONLY filtered row/record to be exported?

The default behaviour is exporting all table record even it's filtered.

Replies

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    It appears to export just the filtered rows for me here: http://datatables.net/extras/tabletools/ . Can you link me to a page that doesn't do that please?

    Allan
  • impressthenetimpressthenet Posts: 4Questions: 0Answers: 0

    Allan,
    Maybe something broke in a TableTools update, but currently the entire table at the link you mention is being copied to the clipboard (as well as exported to CSV) rather that the filtered result.

    Thanks.

  • mttgnemttgne Posts: 4Questions: 1Answers: 0

    I also try to export from the table in the link (after filtering) but all the rows are being copied.

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    Can you link to the page showing the error please.

    Allan

  • hhhjjjkkklllhhhjjjkkklll Posts: 7Questions: 4Answers: 0
    edited June 2014

    You have to set "tableTools": { "aButtons": [ {"sExtends": "copy","oSelectorOpts": {"filter": "applied",page: 'all' }]

This discussion has been closed.