我有一张桌子。在表中,最后一列仅包含两个图像,通过使用数据表,我将表的记录保存为 csv 格式。但我想从 csv 文件中排除最后一列,因为它只包含 2 个图像。怎么做。请帮我。我的代码是这样的:
$('#example').dataTable( {
"bProcessing": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": 'T<"clear">lfrtip',
"oLanguage": {
"sSearch": "Search all columns:"
},
"oTableTools": {
"aButtons": [{
"sExtends": "csv",
"sButtonText": "Save to CSV"
}]
},
"aoColumns": [
null,
null,
null,
{ "bSortable": false }, // disable the sorting property for checkbox header
null,
null,
null,
{ "bSortable": false } // disable the sorting property for checkbox header
]
} );