Need only visible and filtered data in CSV

Need only visible and filtered data in CSV

visionala9visionala9 Posts: 10Questions: 0Answers: 0
edited September 2011 in TableTools
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?

Replies

  • jp_noronhajp_noronha Posts: 59Questions: 0Answers: 0
    edited September 2011
    [code]
    $('#example').dataTable( {
    "sDom": 'T<"clear">lfrtip',
    "oTableTools": {
    "aButtons": [
    {
    "sExtends": "csv",
    "sButtonText": "Save to CSV",
    "mColumns": "visible"
    }
    ]
    }
    } );
    [/code]

    but you problably allready know :)
This discussion has been closed.