jQueryUI multiple sort images

jQueryUI multiple sort images

david_kerwickdavid_kerwick Posts: 2Questions: 1Answers: 0

Hi,
In DataTables 1.10.2 when I add jQueryUI support it doubles up the sorting images displayed. So you get the default DataTables one and the ThemeRoller one.

You can actually see this on the DataTables example page
http://www.datatables.net/examples/styling/jqueryUI.html
You get a grey arrow and a purple one.

So it loads
images/ui-icons_888888_256x240.png
and
../images/sort_asc.png

I can change the dataTables.css to remove the images but I thought it would be worth knowing.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,892Questions: 1Answers: 10,144 Site admin
    Answer ✓

    Don't include both the DataTables standard CSS and the DataTables jQuery UI CSS. That is what is causing the issue on the site (still thinking of a good way of fixing it since the DataTables standard CSS is included on every page by default...).

    Allan

  • david_kerwickdavid_kerwick Posts: 2Questions: 1Answers: 0

    That's great thanks, I guess I should do what the pages says not what it does.

    David

This discussion has been closed.