Creating a list of children

Hi,

I have a parent object ‘Menu’, which has children ‘Menu Items’. Each child can also have children, ‘Menu Items’.

i would like to be able to click a button (“Menu Items”) next to my Menu, which will show a list of its children. Moreover, next to each child I would like to have the same button, which will allow users to see children of those Menu Items.

I will appreciate any suggestions how to achieve this. I already have the set up, I am not sure how to create such lists. Do I have to use form for it?

It’s more like a tree, where You can expand branches.

Maybe like this?

https://www.w3schools.com/howto/howto_js_treeview.asp

1 Like

Yes, something like this! Thanks