Datatable's fontawesome plugin doesn't work with fontawesome's latest release, v5.0.12

Datatable's fontawesome plugin doesn't work with fontawesome's latest release, v5.0.12

mending3mending3 Posts: 16Questions: 9Answers: 0

Hey guys,
I've included the plugin based on this instruction:https://datatables.net/blog/2014-06-06, but the sorting and pagination icons are not shown. Is there anything wrong with my import order?

<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<link href="{{ asset('sweetalert2/sweetalert2.min.css') }}" rel="stylesheet">
<script src="{{ asset('fontawesome/svg-with-js/js/fontawesome-all.min.js') }}"></script>
<link href="{{ asset('dataTables/css/jquery.dataTables.min.css') }}" rel="stylesheet">
<link href="{{ asset('dataTables/css/dataTables.bootstrap4.min.css') }}" rel="stylesheet">
<link href="{{ asset('dataTables/css/jquery.dataTables.fontawesome.css') }}" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/mine.css') }}">
<link rel="stylesheet" href="{{ asset('css/lte-custom.css') }}">

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Yes, I've not looked at updating it for FA5 yet. I've just had a little play with it: http://live.datatables.net/bonoberi/1/edit . The headers work, but I'm not sure why the pagination icons aren't working.

    Also that uses FA's web fonts ability. I've not tried it with their JS / SVG option yet. I doubt this integration will work with that since it is specifically referencing a web font.

    Allan

This discussion has been closed.