We have updated Flexmonster Software License Agreement, effective as of September 30, 2025 (list of changes)

disable collapse/expand

Answered
taehong asked on October 13, 2025

I want to disable collapse/expand on a cell, but the approach in this ticket (https://www.flexmonster.com/question/prevent-collapse/) does not work for us.

 

The line

cell.text = "<div class='notexpandable' onclick='event.stopImmediatePropagation();'>" + data.escapedLabel + "</div>" + parts[1];

 

does not work. Could you suggest an alternative way to achieve this?

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 13, 2025

Hello,

Thank you for reaching out to us.

Currently, Flexmonster does not provide an option to disable the expand/collapse. To help us better understand your use case, could you please provide us with more details:

  1. Do you want to restrict the expand and collapse options for all the cells or only specific ones?
  2. Are there any predefined expands in the slice?

It would greatly help us.

Looking forward to hearing from you.

Kind regards,
Nadia

Public
taehong October 14, 2025

In Flexmonster PivotTable,
I want to initially display the hierarchical structure in the columns and rows fully expanded using the "Expand All" option, but prevent the user from collapsing or re-expanding the hierarchy afterwards.

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 14, 2025

Hello,

Thank you for providing us with the details.

Our team will research the possible solution for disabling the expand and collapse options. We will provide you with the results with ETA November 10th.

Please let us know if other questions arise.

Kind regards,
Nadia

Please sign in or register to submit your answer