Applying icon in place of text for cutom buttons
Applying icon in place of text for cutom buttons
SKC
Posts: 33Questions: 10Answers: 0
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?
This discussion has been closed.
Answers
Got it working by modifying as follows :