Problems usign Datatables Download via CDN
Problems usign Datatables Download via CDN

Hello,
using the downloader with the CDN option https://datatables.net/download/ I try to only select Bootstrap 3 and if I only select the Minify version I am not displayed anything (I have actively deselected Datatables on the packages). I can only see the expected result if I select Minify and Concatenate.
The second problem, which is more serious, is this:
If I select Bootstrap 3 and Datatables on the packages, and then on the CDN I only select Minify, I am shown 2 JS files and one CSS file, my question is, why am I being shown jquery.dataTables.min.js and the code to download the equivalent CSS file is not shown?.
Of course my real-use download is more complex than these two options, but I have noticed that my implementation was missing https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css and I haven't been able to figure out which combination of options, if any, includes that CSS file.
Thank you!
Alvaro
Replies
Colin
Hello Colin,
But I don't understand why I don't get a download like:
Instead of just:
Why is jquery.dataTables.min.js added and not jquery.dataTables.min.css?.
In my case, my styling while updating DT was failing because of that file being missing.
Thank you,
Alvaro
Because you don't need it - see example here: https://datatables.net/examples/styling/bootstrap.html - see the CSS tab beneath the table,
Colin
Hello Collin,
Yes, you are completely right. Sorry for creating the issue and thank you for your work!
Best regards,
Alvaro