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.