Open level tables

Valerio Precht asked on August 28, 2019

Good Morning.
How do I start a table with all levels open?
Example: Manager, Supervisor, and Salesperson.
Thank you
Valerio

4 answers

Public
Vera Didenko Flexmonster August 30, 2019

Hello, Valerio,
 
Thank you for your question.
 
You can make all levels open on load by default by setting the drillAll and expandAll to true in the drills and expands in the slice object.

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

 
Hope this helps.
 
Best Regards,
Vera

Public
Valerio Precht September 3, 2019

Thanks for the feedback Vera.
Did not work.
Can you help me if I put your suggestions in the right place?
options: {
grid: {
type: “classic”,
showTotals:false
       },
drills: {
drillAll: true
        },
expands: {
expandAll: true
         }
    },
 

Public
Vera Didenko Flexmonster September 6, 2019

Hello, Valerio,
 
Thank you for your response.
 
We would like to point out that drills and expands are not part of the options object. 
Please specify the drills and expands in the slice object: https://www.flexmonster.com/api/slice-object/.
 
Here is a JSFiddle example for illustration: https://jsfiddle.net/flexmonster/7ur89s0e/.
 
Let us know if this helps.
 
Best Regards,
Vera

Public
Valerio Precht September 6, 2019

Hello Vera
Thank you very much. Now it worked.
Valerio
 

Please login or Register to Submit Answer