react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

Hidden flag for nodes

Open harrycollin opened this issue 1 year ago • 1 comments

It would be great if we can exclude nodes from rendering based on a flag/property in the data (Example: hidden: true). My data structure contains children that shouldn't be rendered. Reconstructing the data would be difficult and would break references in other parts of my app. I feel like this should be something that's quite simple. Perhaps I've even missed something in the documentation which allows for this behaviour.

harrycollin avatar Jan 22 '24 17:01 harrycollin

Interesting use case. I suppose this could be added in a future version.

jameskerr avatar Feb 07 '24 17:02 jameskerr