Confused about which css files I need
Confused about which css files I need
simkessy
Posts: 4Questions: 1Answers: 0
I'm looking back at an older project which had datatables and I noticed I'm using "jquery.dataTables_themeroller.css" from a microsoft cdn.
I can't find a reference to this file on the DataTables site anymore and am not sure if I need it. But when I remove it, it screws up the styling of the table. I got DataTables from NPM now and it doesn't include that file. I am using: 'jquery-ui/themes/vader/jquery-ui.css').
This discussion has been closed.
Answers
Have you checked out this topic?
https://datatables.net/examples/styling/jqueryUI.html
That file was replaced by making the DataTables theming integration for Bootstrap, Foundation and jQuery UI use the same basic structure.
You do need jQuery UI integration files for DataTables if you want to use themeroller styles with DataTables. Have a look at this blog post for information about DataTables with NPM and the styling options.
Allan