I have placed a custom Excel button for my datatable.
buttons: [
{
text: 'Excel',
action: function ( e, dt, node, config ) {
ExportRequests();
}
}
Instead of the text I want to apply icon on this button. How can I achieve it?