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

remove collapse arrow

Re-Open
Fabrizio asked on April 11, 2025

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

7 answers

Public
Fabrizio April 11, 2025

sorry, the attachment

Attachments:
Cattura.PNG

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster April 11, 2025

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 April 15, 2025

Thank you Nadia, it's all ok!

Fabrizio

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster April 15, 2025

Hello Fabrizio,

Thank you for the feedback!

Do not hesitate to contact us if other questions arise.

Kind regards,
Nadia

Public
Fabrizio April 22, 2025

Dear Nadia,

I hope this email finds you well. I'm writing regarding ticket about the pivot table functionality.

As shown in this video https://dev.goprofit.cloud/upload/2025-04-22_09h45_27.mp4 , there's still a minor issue with the grouping functionality. Even though we've made progress, there appears to be a problem with how the data is being aggregated when grouped.

Additionally, I have a question about implementing a specific calculation feature.

Currently, when I select a value from the dropdown, the pivot table reloads with data calculated by dividing one value by another. However, for the grouping phase, we need to implement a weighted average field.

To be clear, I'm not looking for a simple average of the displayed values, but rather a weighted average calculated as:

  • Sum of all values ÷ Sum of all divisors

Do you have any suggestions on how we might implement this weighted average calculation in the pivot table? This would greatly enhance the analytical capabilities of our report.

Thank you for your continued support on this project. I look forward to your insights.

 

Best regards,

Fabrizio

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster April 23, 2025

Hello Fabrizio,

Thank you for the feedback!

Currently, Flexmonster does not allow complete disabling of the expand functionality. However, you can disable the pointing cursor using the CCS rules: pointer-events: none;.

To achieve a weighted average instead of a built-in average aggregation, we recommend creating calculated values. You are welcome to check our documentation for more details: https://www.flexmonster.com/doc/calculated-values/

Feel free to check the following JSFiddle for reference: https://jsfiddle.net/flexmonster/0tw5f3xh/

Please let us know if any questions arise.

Kind regards,
Nadia

Public
Fabrizio 19 hours ago

Here's your email translated from Italian to English:

Hello Nadia,

Thank you for your support. Unfortunately, I cannot find a way to apply the CSS, but I would say that this is not the right approach anyway since I need to display the weighted average in the case of collapse.

Unfortunately, the application of Flexmonster to our project has become, in my experience, quite complex, and I cannot achieve the desired result.

Does Flexmonster possibly provide personalized consulting on a specific client project? Obviously with paid support. If so, what are the procedures?

 

Thank you

Please login or Register to Submit Answer