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

remove collapse arrow

Answered
Fabrizio asked 5 days ago

Hello,

I'd like to ask if it's possible to remove the default arrow/collapse functionality that compacts months to show only the year in the Flexmonster component.

Currently, when using a date hierarchy in our reports, there's a default arrow that allows users to collapse all months to display just the year. For our specific implementation, we'd prefer to disable this feature and always show the full date hierarchy without the collapse option.

Is there a configuration property or setting that would allow us to remove or disable these collapsing arrows? If so, could you please provide guidance on how to implement this, along with any code examples if available?

Thank you in advance for your assistance.

 

Kind regards, Fabrizio

4 answers

Public
Fabrizio 5 days ago

sorry, the attachment

Attachments:
Cattura.PNG

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster 5 days ago

Hello Fabrizio,

Thank you for reaching out to us.

We recommend using the customizeCell function to remove the collapse/expand arrows from the grid. The idea is to remove the expand icon from the cell and prevent the cell from clicking. You are welcome to check the following JSFiddle for reference: https://jsfiddle.net/flexmonster/xb86haov/

Please let us know if it works for you. Looking forward to hearing from you.

Kind regards,
Nadia

Public
Fabrizio 21 hours ago

Thank you Nadia, it's all ok!

Fabrizio

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster 19 hours ago

Hello Fabrizio,

Thank you for the feedback!

Do not hesitate to contact us if other questions arise.

Kind regards,
Nadia

Please login or Register to Submit Answer