Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

TableTools export PDF/Excel - cached applied filter on second export

$
0
0

10.10.4

Hi

I can save xls/pdf files for a none-filtered table, as well as a filtered subset of the same table. (I make use of filter: "applied")

But.. only if it is the first time I save after the page is loaded. Any further save/export attempts used the 'cached' version of the first export data for that specific table. This cached version can be filter or not - depending on if the table was filtered before the first export was done.

Any advice please?

aButtons: [
    $.extend({
        sExtends: "xls",
        sTitle: pdfTitle,
        sFileName: exportFileName + '.csv'
    }, { oSelectorOpts: { filter: "applied" } }),   
    $.extend({
        sExtends: "pdf",
        sPdfOrientation: "landscape",
        sTitle: pdfTitle,
        sFileName: exportFileName + '.pdf'
    }, { oSelectorOpts: { filter: "applied" } })
]

Viewing all articles
Browse latest Browse all 2364

Trending Articles