I need a widget for my Bubble app. I need a tree hierarchy of dynamic data that can expand and collapse. The data have parent-child relationships. Every child has exactly one parent. I need to display the children of a data item under their parent.
I can display a static tree using CSS and Javascipt:
I can display parent-child relationships using repeating groups:
I found several Bubble solutions with one level of children nested under their parent items. Each parent item can be collapsed (to hide children) and expanded (to show children) for each parent.
I found a Bubble solution with multiple parent-child relationships:
Thank you very much for seeking and providing solutions on Forum. Forum is my best tool for learning Bubble. I would not have gotten as far as I have without Bubble, but I haven’t gone far enough.
I need a solution with dynamic data AND as many levels of child items as are in the database AND more than one child item per level AND the children items under their parent item AND the ability to hide and show the children of each parent individually up to collapsing the tree to show just the top-level parent items.