Confused about which css files I need

Confused about which css files I need

simkessysimkessy 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').

Answers

  • glendersonglenderson Posts: 231Questions: 11Answers: 29
  • allanallan Posts: 61,971Questions: 1Answers: 10,160 Site admin

    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

This discussion has been closed.