eui
eui copied to clipboard
[EuiTreeView] Allow to expand all nodes
I want to create an non-interactable tree view to show hierarchical data. But this is seems to be impossible now because the expanded nodes is an internal state of the tree view component.
@thompsongl Using the expandByDefault
prop can solve this problem right!?
@hetanthakkar1 expandByDefault
expands the nodes on first rendering, but then the users could collapse them again. I want to prevent users from collapsing the tree.
Hey @balthild , it sounds like you just want a static nested list. I suggest using nested <ol>
or <ul>
with custom bullet indicators. EuiTreeView comes with a lot of cruft that it doesn't sound like your implementation needs. It'll also most likely be the best for you semantically.
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
A solution has been provided. We have no plans to support blocking interactivity on EuiTreeView.