jQWidgets Forums
jQuery UI Widgets › Forums › Grid › PivotGrid Designer
Tagged: PivotGrid PivotDesigner Theme
This topic contains 3 replies, has 2 voices, and was last updated by Stanislav 7 years, 2 months ago.
-
AuthorPivotGrid Designer Posts
-
Hi,
On JQWidgets v5.6;
I’m having difficulty to apply theme on the PivotGrid Designer,
for the PivotGrid this is not an issue it worked perfectly by adding theme: ‘darkblue’ to the jqxPivotGrid parameters.
But adding the same to jqxPivotDesigner doesn’t work, still stuck on the base theme.if i got on your example page:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxpivotgrid/pivotgrid_designer.htm?darkbluei see that you successful apply themes to the designer, perhaps if i look at the source of this page,
there is no theme parameters applied to the objects, i guess it’s due to your dynamic way to change theme on the pages.Could please help me by showing me a code example with theme applied to the designer?
Thank you in advance,
BennerHello BennerBenner,
Here is an example: Link
You need to declarate the style that you are going to use.In the HTML file you need to add this:
<link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css"> <link rel="stylesheet" href="jqwidgets/styles/jqx.darkblue.css" type="text/css">
The
jqx.base.css
should be set by default, you need to add the other themes you want to use in your project.Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/Hi Stanislav,
I know about declaring themes,
i’m actually loading base and darkblue.
as i mentioned, themes works in all the JQWidgets objects i’m using, perhaps
PivotGrid theme works, but PivotDesigner won’t. Like in the link you provided me, the designer has no theme applied on it.$('#divPivotGrid').jqxPivotGrid( { theme: 'darkblue', source: pivotDataSource, treeStyleRows: false, autoResize: false, multipleSelectionEnabled: true });
$('#divPivotGridDesigner').jqxPivotDesigner( { theme: 'darkblue', <<---- Is theme parameters is needed like this? type: 'pivotGrid', target: pivotGridInstance }
The “theme” parameters in PivotDesigner doest seems to exists, i can’t even see it in the API details of it.
Thanks
Hello BennerBenner,
Unfortunately, you can’t set a theme to the Designer.
You will have to manually select the classes of the pivotDesigner and add style to them.
The ‘theme‘ works only for the PivotGrid.Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.