Reputation: 1239
I have confusion in using the CSS in jQuery DataTable. They had provided many CSS but in example they used only 1 or 2. (DataTable Download)
So my question is what are the uses or difference of this css in datatable. I searched it, but i didn't get relevant answer.
1. demo_page // ?
2. demo_table // ?
3. demo_table_jui // ?
4. jquery.dataTables // ?
5. jquery.dataTables_themeroller // To include jQuery UI theme.
Upvotes: 2
Views: 12912
Reputation: 7380
If you want to use only basic style as datables.net's examples, you
can use 4.jquery.dataTables.css
.
If you want to use jquery ui, you can include 3.demo_table_jui.css
- this is jquery ui smoothness theme, light grey color.
(if your site has already included jquery ui css file from jqueryui.com, no need to use 3.demo_table_jui.css
).
If you want to change style on the fly using jquery themeroller (like http://www.datatables.net/styling/themes), also include 5.jquery.dataTables_themeroller.css
.
You can leave 1.demo_page
and 2.demo_table
, they are only for demo table styles.
Upvotes: 2