Tree and lists inside the tree issue

Hello.

There has to be a tree on a page that needs to be collapsable/expandable with all of its contents including lists, tree, text fields, etc.

GlobalTree (which has):
List List
List List

AnotherTree (which has)::
Several TextFields Various Lists

Could you please suggest on how to correctly handle the current situtation? Is there any appropriate widget or may i just code it myself?

Thank you in advance.

The standard components do not support this directly, but the
ComponentTree add-on
might provide what you want.