Question: How can I exclude the last column of jQuery DataTables.net when using the TableTools extras to export?
Details
I\
Just for googlers: in tabletools 2.2.3 you can now use function for mColumns
var dataTable = $grdData.DataTable({
tableTools: {
aButtons: [{
"sExtends": "csv",
"sButtonText": "csv",
"mColumns": function ( dtSettings ) {
var api = new $.fn.dataTable.Api( dtSettings );
return api.columns(":not(:last)").indexes().toArray();
}
}]
}
});