Open rr15516 opened 11 years ago
check out row 4601 (jTable 2.3.0)
//Apply theming as same as parent table unless explicitily set
if (tableOptions.jqueryuiTheme == undefined) {
tableOptions.jqueryuiTheme = self.options.jqueryuiTheme;
}
So you should be able to use jqueryuiTheme in your childTable configuration.
Didn't try it, please let me know if it works like a charm! (or if it doesn't. Just let me know what happened after you've tried)
It worked for one level of master/child. Thank you. :)
However, I also have another child table within a child table. Are we limited to toggle between just the jqueryuiTheme and jTable theme? Or are there ways to implement several themes for several child tables? Thank you. :)
Please can you be more specific on how to define theme for child table?
Cheers
Zdukenukem
Yeah can you be more specific on how to define theme for child table ?
jqueryuiTheme:'jtable.2.4.0/themes/metro/orange/jtable.css',
First you should remove the jtable.css and jquery-ui.css files of html headers ( if previously you've added ), so you create your custom css file( eg: jtable-style.css ), and then you start writing your CSS code.
Also I've created a premium flat theme for jtable, you can checkout it here.
This is not working for me. The table headers aren't the theme that I specified in
jqueryuiTheme: 'jtable2.4.0/themes/metro/blue/jtable.min.css'
Hi, Good, good job! Is it possible have different color theme on child tables?
Thanks!