Export filtered data
Export filtered data
Hi everyone,
I don't find how it's possible to JUST export the filtered data.
I found different propositions (like bSelectedOnly) but it's not what i want.
I am working with Symfony2 and data is recovered by the controller and they are not serialized.
My tableTools configuration is simple ... :
[code]
[...]
"oTableTools": {
"sSwfPath": "{{ asset('bundles/TableTools-2.2.0/swf/copy_csv_xls_pdf.swf') }}",
"aButtons": [{
"sExtends": "xls",
"sButtonText": "Exporter sous Excel"
}, {
"sExtends": "print",
"sButtonText": "Imprimer le planning"
}
]
},
[...]
[/code]
I don't provide a link to DataTableLive or JsFiddle because, in this situation, i think it's useless but if you want it, please, tell me.
I hope you will can help me.
Thanks.
I don't find how it's possible to JUST export the filtered data.
I found different propositions (like bSelectedOnly) but it's not what i want.
I am working with Symfony2 and data is recovered by the controller and they are not serialized.
My tableTools configuration is simple ... :
[code]
[...]
"oTableTools": {
"sSwfPath": "{{ asset('bundles/TableTools-2.2.0/swf/copy_csv_xls_pdf.swf') }}",
"aButtons": [{
"sExtends": "xls",
"sButtonText": "Exporter sous Excel"
}, {
"sExtends": "print",
"sButtonText": "Imprimer le planning"
}
]
},
[...]
[/code]
I don't provide a link to DataTableLive or JsFiddle because, in this situation, i think it's useless but if you want it, please, tell me.
I hope you will can help me.
Thanks.
This discussion has been closed.
Replies
https://datatables.net/forums/discussion/20011/copy-not-honoring-the-filter
For information, just add :
[code]
"sExtends": "xls",
"sButtonText": "Exporter sous Excel",
[quote]"oSelectorOpts": {
"filter": "applied"
}[/quote]
[/code]