CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Setting Don't Work

by ariopax » 15 Nov 2015 07:34

Hi

I use some setting for JQPivot in design time.But don't apply anything.
and then
I use below code for setting
Code: Select all
        IWCGJQPivot.JQPivotUIOptions.AutoSize:= True;
        IWCGJQPivot.JQPivotType:= jqptPivotUI;
        IWCGJQPivot.FileName:= 'data/MyPivot.json';
        IWCGJQPivot.JQPivotUIOptions.Rows.Add('F1');
        IWCGJQPivot.JQPivotUIOptions.Cols.Add('F2');
        IWCGJQPivot.JQPivotUIOptions.Vals.Add('F3');
        IWCGJQPivot.JQPivotUIOptions.RendererName := jqprHeatmap;
        IWCGJQPivot.JQPivotUIOptions.AggregatorName := jqpaIntSum;

But don't apply Below Code.
Code: Select all
        IWCGJQPivot.JQPivotUIOptions.Vals.Add('F3');
        IWCGJQPivot.JQPivotUIOptions.RendererName := jqprHeatmap;
        IWCGJQPivot.JQPivotUIOptions.AggregatorName := jqpaIntSum;

What I do for apply change?

Best Regards.
ariopax
 
Posts: 123
Joined: 07 Dec 2014 21:09
Location: Tehran,Iran

by Alexander Bulei » 18 Nov 2015 10:22

Hi ariopax,

Can you send us the simple testcase please? T.I.A
P.S: And don't forget the json file ;)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ariopax » 18 Nov 2015 11:36

Hi

This is my testcase.
Please create Data folder in wwwroot for json file.
Please copy pivot.fa.js to wwwroot\jq\pivottable for setting Farsi(Persian Language).
And I have a question.
How to set my sort for cols?
For example i want set cols from One To Six.


Best Regards.
You do not have the required permissions to view the files attached to this post.
ariopax
 
Posts: 123
Joined: 07 Dec 2014 21:09
Location: Tehran,Iran

by aftabgardan2006 » 24 Nov 2015 11:56

hi Ario

Open you'r file pivot.fa.js and then remove frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
Best Regards.
aftabgardan2006
 
Posts: 3
Joined: 24 Nov 2015 10:52

by ariopax » 25 Nov 2015 07:22

Hi aftabgardan2006


My Problem Solved.Thanks.
And in this file pivot.fa.js ,on aggregators function ,i put sum aggregator in first line "مجموع": tpl.sum(frFmt),then IWCGJQPivot.JQPivotUIOptions.AggregatorName := jqpaIntSum; command worked.
Image


Best Regards.
ariopax
 
Posts: 123
Joined: 07 Dec 2014 21:09
Location: Tehran,Iran

by Alexander Bulei » 25 Nov 2015 10:16

Hi ariopax,

It was a issue with jquery plugin and fixed in beta build (which I will upload in few hours).

Thanks.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQPivot

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.