How could I create a Treeview in ROBLOX?

Hey! got an issue right now lol

Basically what I’m wanting to do is a Treeview for a “Tab” I’m working on (Statistics) and I want it to have Live Updates on what happens on the page, I’ve got no idea how to make the Treeview

How I want it to be like is like this sort of like this image:
Tree_view_example

I’ve tried thinking of an idea on how to make it but there isn’t much that comes up except an image that I don’t want to use as it can’t live update (or something).

2 Likes

The UIListLayout element looks like it would be particularly useful here.

You could organize each category using LayoutOrder and add buttons to each UI element, which would hide all of its children by simply deleting them.

I want to achieve the lines in the Treeview too though, sorry if I didn’t make that clear

edit: Yeah i believe UIListLayout is what I’m looking for as it makes it look cleaner but I can’t seem to figure out how to add the lines