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

Is is possible to use expandAll: true to have all hierachy levels expanded on report load?

Answered
eze@wejugo.com asked on September 10, 2020

Normally using something like:

        expands: {
expandAll: true,
},

In a report's slice will have all drilldowns expanded when the report loads. When there are hierarchies in the data, the levels of the hierarchy are not expanded. Is it possible to achieve with some other configuration?

6 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 11, 2020

Hello,
 
Thank you for contacting us.
 
All multilevel hierarchies can be expanded using the slice.drills.drillAll property. Please see the following code snippet for the reference:

"expands": {
  "expandAll": true
},
"drills": {
  "drillAll": true
}

 
Detailed information about the slice object and its properties can be found in our documentation.
 
Please let us know if it works for you.
Do not hesitate to contact us in case further questions arise.
 
Regards,
Illia

Public
eze@wejugo.com September 16, 2020

Perfect! Thank you

Public
eze@wejugo.com September 23, 2020

Hello there, I just tried this with the custom data API and it didn't work.
Here's an example report: https://jsfiddle.net/ezk84/r08dkf6b/12/
I was expecting that the Color level for the Item hierarchy would be expanded for each of the members when the report loads.
 
Cheers,
Ezequiel
 

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 24, 2020

Hello, Ezequiel,
 
Thank you for reporting the problem and preparing the example.
 
The fix will be provided with a minor update ETA Oct 19.
Our team will notify you as soon as the fix is available to download.
 
We hope it works for you.
You are welcome to contact us in case any additional questions arise.
 
Kind regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 20, 2020

Hello, Ezequiel,
 
We are happy to let you know that the issue with incomplete responses when the drillAll option is turned on was fixed.
 
This is provided in the 2.8.18 version of Flexmonster.
You are welcome to update the component.
 
Please contact us in case any questions arise.
 
Best Regards,
Illia

Public
eze@wejugo.com October 21, 2020

Thank you, that works as expected! Cheers!

Please login or Register to Submit Answer