I have configured the CSV button to work correctly. Now, my client would like a second CSV button to be added to the bottom of the table, as well, so that if someone scrolls to the bottom they don't have to go to the top of table to export.
opentable = $("#open").dataTable( {
dom: "Bfrtip",
"data": openData,
"columns": [{
data: "severity", render: function (data, type, row) {
if (type === 'export') {
return data;
} else {
return '';
}
}],
"paging": true,
"searching": true,
buttons : [{
extend: 'csv',
exportOptions: {
columns: [0,1,2,3,4,5,6,7,8,9,10], orthogonal: 'export'
}
}]
});
If that's unclear, I'd like to go from the first picture to the second:

