Because I do not see export buttons on mobile devices?

Because I do not see export buttons on mobile devices?

jcqt_isjcqt_is Posts: 1Questions: 1Answers: 0

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

  • kthorngrenkthorngren Posts: 20,297Questions: 26Answers: 4,768
    edited April 2017

    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

This discussion has been closed.