Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82439

Applying icon in place of text for cutom buttons

$
0
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?


Viewing all articles
Browse latest Browse all 82439

Trending Articles