Need a special offer?Find out if your project fits.
+

Expand specific row fields or all colums

Answered
Lorenzo Paraboschi asked on October 11, 2023

Hi,
I can't obtain the desired resoults when i try

        "expands": {
            "expandAllColumns": true
        }

Beetween measure and options don't work
 
Also when i try to expand rows nothing happens and when i try to save the json just uploaded the "expanded": true disappear

        "rows": [
            {
                "uniqueName": "ClienteStima",
                "expanded": true
            },
            {
                "uniqueName": "TipologiaMarchio",
                "expanded": true
            },
            {
                "uniqueName": "AggregatoPromo"
            }

Version Gen 2023 (v. 2.9.42)
build 01/09/2023 13:28:01
 
Thanks
LP

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 11, 2023

Hello, Lorenzo!
 
Thank you for reaching out to us.
 
Please find our comments about the mentioned cases below.
 
1. Can't obtain the desired results when I try "expandAllColumns": true
Our team hasn't managed to reproduce the described behavior on either 2.9.42 or the latest(2.9.61) version of Flexmonster.
Could you please modify the following JSFiddle to make the case reproducible: https://jsfiddle.net/flexmonster/15tsLowz/.
 
2. When I try to expand rows, nothing happens, and when I try to save the json just uploaded the "expanded": true disappear
Kindly note that you need to specify the tuple with the rows' member you want to be expanded in the slice.expands.rows, for example:

expands: {
        rows: [{
          tuple: [
            "country.[canada]"
          ]
        }],
//other expands properties
}

We recommend the following approach to configure the expands in the slice object:

  1. Configure all the desired expands and drills through the UI
  2. Save the report file using the Save Toolbar tab
  3. Open the report.json file on your computer and check out how the expands and drills are configured
  4. Copy&paste expands' and drills' configurations to your report

 
Hope you will find our answer helpful.
Looking forward to hearing from you.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 24, 2023

Hello, Lorenzo!

Hope you are doing well.

Our team is wondering if you had a chance to try the suggested approach and configure the expands. Could you please let us know if everything works well now?

Looking forward to hearing your feedback.

Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 31, 2023

Hello, Lorenzo!

Hope you are having a great week.

Just checking in to ask if the suggested approach was helpful in configuring the expands.

Looking forward to hearing from you.

Kind regards,
Solomiia

Please login or Register to Submit Answer