Because I do not see export buttons on mobile devices?
Because I do not see export buttons on mobile devices?
On desktop computers the buttons are displayed but on mobile devices are not displayed.
Where I change the configuration
var table = $('#datatable-tabletools');
table.dataTable({
sDom: "<'text-right mb-md'T>" + $.fn.dataTable.defaults.sDom,
oTableTools: {
sSwfPath: table.data('swf-path'),
aButtons: [
{
sExtends: 'csv',
sButtonText: 'CSV'
},
{
sExtends: 'xls',
sButtonText: 'Excel'
},
{
sExtends: 'print',
sButtonText: 'Print'
}
]
}
});
Answers
First, table tools is retired:
https://datatables.net/extensions/tabletools/
Second, i don't think any of the buttons that export to a file system will work on mobile devices. My understanding is the browser detects the capabilities and if not supported then the buttons won't display. If the page works on the desktop but not the mobile device then the device's browser doesn't support the button's functionality.
Kevin