How can we exclude particular column from Datatable during export to pdf or excel?
How can we exclude particular column from Datatable during export to pdf or excel?

How can we exclude particular column or set of columns (for example: View, edit, delete buttons in the action column) from Datatable during export to pdf or excel?
how can i do that?
snippet form my datatable:
$('.example').dataTable({
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "<?php echo base_url()."js/jtable/";?>copy_csv_xls_pdf.swf"
},
"aaSorting": [[ 5, "desc" ]],
"iDisplayLength": 10,
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ 8 ] }
]
});
This discussion has been closed.