Missing sort arrows in table header

Missing sort arrows in table header

col.braziercol.brazier Posts: 26Questions: 2Answers: 0

Link to test case: http://www.col-b.uk/boozenblues/
Debugger code (debug.datatables.net): Don't understand how to use.
Error messages shown: none
Description of problem: The sort works but there are no arrows shown. The images are present on the server but there is no reference to them in the CSS.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,451Questions: 1Answers: 10,055 Site admin
    Answer ✓

    I might be missing it, but you don't appear to be including the jQuery UI CSS? You've got their JS library, but I think you need to add:

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css">
    

    It will effect the styling off your table - which might or might not be what you want, but you appear to be assuming jQuery UI else where, so it makes sense to include their CSS.

    Allan

  • col.braziercol.brazier Posts: 26Questions: 2Answers: 0

    Wow! Thanks Allan.

  • col.braziercol.brazier Posts: 26Questions: 2Answers: 0

    As a postscript I have tried without using jQuery UI at all, and it seems to look and behave just fine without it!

This discussion has been closed.