Hello dev_pepper,
The getDemoTheme() function is intended for use in the online demos only. We suggest that you have a global theme variable, which you set at startup (login). Then, either initialize every widget with the theme property set to theme or just change all widgets’ theme properties to theme, e.g.:
$("#jqxGrid").jqxGrid({ theme: theme });$("#jqxDropDownList").jqxDropDownList({ theme: theme });$("#jqxButton").jqxButton({ theme: theme });
where theme = “orange” for example. Or even:
var themeSetting= { theme: "orange" };$("#jqxGrid").jqxGrid(themeSetting);$("#jqxDropDownList").jqxDropDownList(themeSetting);$("#jqxButton").jqxButton(themeSetting);
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/