Jump to content
uniGUI Discussion Forums
GoldLine

PivotGrid questions ...

Recommended Posts

Hello,

I've some qustions for pivotgrid handling:

  1. Is there a possibility to change header-column width programmatically?
  2. How can I change/translate summary text "Grand total" in last row?
  3. Is there a possibility to expand all and collapse all  nodes programmatically?

Thx.

pivot.png

Share this post


Link to post
Share on other sites

Hello,

On 10/11/2019 at 3:59 PM, GoldLine said:

Is there a possibility to change header-column width programmatically?

Can you please clarify?

 

On 10/11/2019 at 3:59 PM, GoldLine said:

How can I change/translate summary text "Grand total" in last row?

Can you try this?:

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniDBPivotGrid1.JSInterface.JSAssign('matrix.textGrandTotalTpl', ['Endsumme']);
end;

 

Share this post


Link to post
Share on other sites

Hi Sherzod,

thank you for your help.

Quote

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniDBPivotGrid1.JSInterface.JSAssign('matrix.textGrandTotalTpl', ['Endsumme']);
end;

 

=> It works when I use forms but unfortunately not when I use frames like I do.

 

Quote

Can you please clarify?

The width property of column "Artikelgruppe" is defned with value 250 but header column of "Artikelgruppe" does not grow.

image.png.bfdeb12b8b68b544c711b256a5eb67fb.pngimage.png.1fdfaf16ca81935052f89394ad1906e2.png

Is it possible to change the width of "Artikelgruppe"in my coding?
 
  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, GoldLine said:
Is it possible to change the width of "Artikelgruppe"in my coding?
 

Do you want in runtime?

Share this post


Link to post
Share on other sites
On 10/13/2019 at 1:21 PM, GoldLine said:

Hi Sherzod,

thank you for your help.

=> It works when I use forms but unfortunately not when I use frames like I do.

 

The width property of column "Artikelgruppe" is defned with value 250 but header column of "Artikelgruppe" does not grow.

image.png.bfdeb12b8b68b544c711b256a5eb67fb.pngimage.png.1fdfaf16ca81935052f89394ad1906e2.png

Is it possible to change the width of "Artikelgruppe"in my coding?
 

Hi,

Width always comes fixed, it doesn't have any effect when I change it in design mode, it's not right for the user to have to make these settings on every report!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×