Load Multiple CSS Styles

Load Multiple CSS Styles

kamusksnkamusksn Posts: 4Questions: 1Answers: 0
edited October 2013 in DataTables 1.9
Hello, I'm working in a dashboard and I want to show different tables and styles. Actually I'm using the smoothness theme but I want load it's own jquery-ui-1.8.4.custom.css for each of my tables (basically change overall colors for every table)

[quote]fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix[/quote]
[quote]ui-state-default[/quote]

How can I do that?

This is my code
[code]

@import "media/css/demo_page.css";
@import "media/css/demo_table_jui.css";
@import "themes/smoothness/jquery-ui-1.8.4.custom.css";







$(document).ready(function(){
$('#table1, #table2').dataTable({
"sPaginationType": "full_numbers",
"bJQueryUI":true

});
})

[/code]

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Currently you cannot - that is a limitation of the jQuery UI theme engine that you cannot have more than one theme per page.

    Allan
This discussion has been closed.