Visual Component - Nested accordion

Hi everyone!
I started building a “Folder” Hierarchy mechanism in my database, and I would like to show the data as an Accordion, and nested accordion if needed.
I started looking at this one: Add a collapsible acco... | Tadabase
but the nested implementation isn’t explained there. Im wondering if someone have done something simillar in his App and can share ideas.
at the moment that’s what my data table’s looks like:
Categories Table:
-is root category? (checkbox)
-category name (string)
-parent category (connection to self table) (from Categories to Categories)
Files Table:
-File (Files field)
-filename (string)
-Selected Category (Connection to Categories table)
-Selected Category Parent (Rollup field which gets the related “Parent” value)

I’m sharing this because im not really sure about the structure.
what I thought about doing: render the “Files” table as a list, and group records by “parent ID”
I’m Open to any other Ideas, thanks.

bumping post

@omerz7 -

Would you have a sketch of what you are attempting to accomplish or what you would like the final product to look like?

Adam

Hi,

I have asked about adding this view type, would also work here I believe: Indented Table or Tree View - #3 by Dan

Thanks

Dan

Do you mean like this tier 1 in dark blue, tier 2 in light blue, tier 3 green, tier 4 table records?
or like this 2 tier layout.

1 Like

here is a 1 tier example with pdf/html emedded as record.

last one