How to add icons for pagination buttons using DataTables font awesome CDN not Bootstrap

How to add icons for pagination buttons using DataTables font awesome CDN not Bootstrap

yousufsadatyousufsadat Posts: 25Questions: 11Answers: 0

Hi. I am trying to add icons as part of the pagination buttons but I don't see forward, Next or Previous classes in this CDN ```

cdn.datatables.net/plug-ins/1.10.15/integration/font-awesome/dataTables.fontAwesome.css

I am able to add the icons using Bootstrap's CDN but I need to do it using the above CDN. Currently my JQuery looks like the following which is using Bootstrap CDN font classes.

var table = $('#example').DataTable({
 pagingType: 'input',
 pageLength: 5,
 language: {
 oPaginate: {
   sNext: '<i class="fa fa-forward"></i>',
   sPrevious: '<i class="fa fa-backward"></i>',
   sFirst: '<i class="fa fa-step-backward"></i>',
   sLast: '<i class="fa fa-step-forward"></i>'
   }
   }   
  })  

How can I replace Bootstrap fa-forward classes so that I use the icons from the DataTables font awesome CDN not bootstrap.

Thanks

This discussion has been closed.