Is Datatable work with Font Awesome 6?

Is Datatable work with Font Awesome 6?

sarooptrivedisarooptrivedi Posts: 62Questions: 19Answers: 2

I am trying to add the icon from the font awesome 6. Is datatables.net support Font Awesome 6.

I add custom button and it is not display the icon

       {
                    text: '<i class="fas fa-search .btn-md"></i>Advance Filter',
                    titleAttr: 'Advance Search',

                },

This question has an accepted answers - jump to answer

Answers

  • sarooptrivedisarooptrivedi Posts: 62Questions: 19Answers: 2
    Answer ✓

    It was my mistake in Code. I figure out Datatable Support Font Awesome 6.

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    Thanks for the update. Yes, DataTables and FontAwesome 6 should work nicely together on the same page.

    Allan

Sign In or Register to comment.