☝️Small business or a startup? See if you qualify for our special offer.
+

Multiple arrows are displayed when declaring slice.expands.expandAll = true

Answered
leandro f asked on July 25, 2025

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/

3 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster July 28, 2025

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

Public
leandro f July 28, 2025

Hi Maksym, thanks for the reply.

I tested your solution and it worked for me. Thanks.

Public
Maksym Diachenko Maksym Diachenko Flexmonster July 29, 2025

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

Please login or Register to Submit Answer