Need only visible and filtered data in CSV
Need only visible and filtered data in CSV
visionala9
Posts: 10Questions: 0Answers: 0
Hi,
I was successful in displaying only visible data in CSV after hiding a column.
But now I need to display the visible and filtered data in CSV. Does anyone has any idea about doing so?
I was successful in displaying only visible data in CSV after hiding a column.
But now I need to display the visible and filtered data in CSV. Does anyone has any idea about doing so?
This discussion has been closed.
Replies
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [
{
"sExtends": "csv",
"sButtonText": "Save to CSV",
"mColumns": "visible"
}
]
}
} );
[/code]
but you problably allready know :)