AdminLTE icon indicating copy to clipboard operation
AdminLTE copied to clipboard

Location of DataTables sort images

Open gregdotca opened this issue 10 years ago • 2 comments

I'm trying to replicate the look of the table listed under "Data Table With Full Features", but the sort images aren't displaying. I tried to find the CSS where the images are referenced, or the images themselves, but I can't find either. I've looked through all of the CSS files and the images aren't referenced, and I've searched the entire AdminLTE folder and the images don't seem to be there either. I feel like I'm losing my mind, it should be such a simple fix. I even downloaded the archive again in case something happened to mine, but I had the same result.

Which CSS files contain the images, and what's the absolute path of the images?

I'm not sure if it'll help, but this is my setup...

I'm including (CSS): dataTables.bootstrap.css

And (JS): jquery.dataTables.js (The "Data Table With Full Features" example doesn't use jquery.dataTables.js, however if I don't it just doesn't work at all.) dataTables.bootstrap.js

My table: <table id="segments" class="table table-bordered table-striped">

Page footer: $('#segments').DataTable({ "paging": true, "lengthChange": true, "searching": true, "ordering": true, "info": true, "autoWidth": false });

gregdotca avatar Feb 18 '16 00:02 gregdotca

So I've been able to narrow down that the sort icons are actually font awesome icons, however I can't find where AdminLTE has them implemented. If I include the datatables/font awesome integration CSS from the datatables CDN (http://cdn.datatables.net/plug-ins/1.10.11/integration/font-awesome/dataTables.fontAwesome.css) the default icons work (and I can get the custom ones working by downloading the CSS and changing the icons), but I'd really rather not have to include an additional CSS file.

I've looked through the AdminLTE CSS files but I just can't find where these non-default sort images are implemented.

gregdotca avatar Feb 20 '16 21:02 gregdotca

DataTables uses Bootstrap Glyphicons, which are included by default with Bootstrap 3.

almasaeed2010 avatar Mar 14 '16 00:03 almasaeed2010