Downloaded both .css and .js locally - it works but sorting icons are not displyed

Downloaded both .css and .js locally - it works but sorting icons are not displyed

CorsariCorsari Posts: 3Questions: 2Answers: 0
edited June 2017 in Free community support

Hello
can you kindly hint with what in subject?

For local testings with xampp I have downloaded both DataTables .css and .js

Obviously the same I have done for all the bootstrap and jquery files.

DataTables works but sorting icons are not displayed and I understand that it is because the relative folder is missing.

Is it available some download for this? How should this be managed?

Thank you

This question has an accepted answers - jump to answer

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    Did you include the boostrap - datatable css file? And have you included the bootstrap - datatable classes in your table class attribute?

    not the complete list but here are some of them from the download page

    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/dataTables.bootstrap.min.css"/>
     
    <script type="text/javascript" src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="https://cdn.datatables.net/1.10.15/js/dataTables.bootstrap.min.js"></script>
    
  • allanallan Posts: 61,740Questions: 1Answers: 10,111 Site admin
    Answer ✓

    Yes, DataTables' Bootstrap 3 integration makes use of Glyphicons Halflings. If your Bootstrap doesn't have them, then it wouldn't work.

    Allan

  • CorsariCorsari Posts: 3Questions: 2Answers: 0

    Thank you!
    Solved
    (sorry for the delayed reply)

This discussion has been closed.