Hi,
In my example you can see that Battery
is expandable, even though it only contains 1 item below (blank).
Is it possible to make it so it won't expand in this case, as it doesn't add anything extra? If not automatically, is there a manual way to specify which shouldn't expand?
Thanks,
Ashley
Hello Ashley,
Thank you for posting your question here.
The component does not have a built-in option you can set to prevent expanding of the nodes only with (blank)
item within.
I prepared a sample for you where customizeCell is used https://jsfiddle.net/flexmonster/up8rn0ax/. It illustrates how the expand icon can be removed and how the expand action can be prevented for the specific cell.
Please let me know if the JSFiddle sample is useful for your case.
Kind regards,
Iryna
Hello, Ashley,
Could you please let us know whether such a solution works for you?
Looking forward to hearing from you.
Best Regards,
Vera