Tree view component

Have a tree view component - much like the one used in Retool "left panel"?

Thanks

Jeremy

2 Likes

I think this would be a hugely valuable addition - the ability to see a tree like structure of resources in a left hand navigation pane is useful in so many instances. The left pane tree you created is great (maybe just needs drag and drop reordering, but that's just being greedy!). How far down the roadmap before you wrap that in a component wrapper?

Hey @mecloran! We have an internal feature request ticket just for this :blush: No plans on the horizon just yet, but I added your +1 and will keep this thread updated!

I have no idea what I'm doing - but managed to pull in the Ant Design tree with the following settings and code - hoping it might be helpful to someone else.

I set the model to this:
{
"packages": {{getTreeData.data}},
"selected" : "",
"selectedType" : ""
}

Code:

.ant-tree-switcher-line-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } .ant-tree-title { text-overflow:ellipses; white-space: nowrap; }

Hi @mecloran ,

Looks great.
Can you tell me more about how you integrated this code in retool?

Thanks!

Olivier

1 Like

Any progress on this component - would still love to have it!

It's not currently being worked on, but I'll add your note to the internal ticket! :slight_smile: Thank you for taking the time to request this.

Please add a +1 for me here!

1 Like

+1 pls

+1