Hello.
Two arrows are being displayed and the items are not being expanded when we initialize the report with
.slice.expands.expandAll = true
JSFiddle reproducing the problem:
https://jsfiddle.net/925pum48/
Hello,
Thank you for your question.
Two arrows are being displayed in this case due to the showHierarchies
option set to false
. The top-level hierarchy in the cell can technically be both drilled and expanded; thus, two arrows are displayed, with the first pointing to the expanded "FinanceCategory" field, and the second showing that the hierarchy can be drilled down.
As for the field not being expanded, note that Flexmonster uses drill-downs within the report to expand the hierarchy level. The report from your sample only included ExpandsObject stores information about expanded fields, while the DrillsObject is absent. We have modified your code snippet to include the drillAll
property for showing the hierarchy level: https://jsfiddle.net/flexmonster/rzs52bot/
Please let us know if our answer helped you.
Best Regards,
Maksym
Hi Maksym, thanks for the reply.
I tested your solution and it worked for me. Thanks.
Hello,
Thank you for your reply.
We are glad to hear that the suggested solution worked for you.
Feel free to contact us if more questions arise.
Best Regards,
Maksym