Hi,
I'have a question, how can i disable the collapse/expand event on cell click (image)?
Unfortunately solutions like put on customizeCell event something like this:
cell.text = "<div class='notexpandable' onclick='event.stopImmediatePropagation();'>" + data.escapedLabel + "</div>" + parts[1];
doesn't work in our case because the event.stopImmediatePropagation(); stop all the events but we need the onCellClickEvent
Best regards,
Massimo
Hello, Massimo,
Thank you for posting to our forum.
Our team assumes that the solution with the customizeCell
method can actually work for your case.
To resolve the issue with click event, we suggest adding an additional layer for clicks handling.
Have a look at the following example (especially 35 and 52 lines of JS code): https://jsfiddle.net/flexmonster/8wbpr5c2/.
Please let us know if it helped.
Waiting for your answer.
Regards,
Milena
Hello, Massimo,
We are wondering if our solution was helpful for your case.
Looking forward to your feedback.
Kind regards,
Illia
Hello, Illia
Yes the solution works. Thank you so much!
Regards,
Massimo
This question is now closed