How to add component such as label to a tree component

I want to display form fields in a tree structure.I have used disclosure addon to display the same.But i want to use the tree to load component.Reason y am switching to tree is am finding difficult to change css of disclosure addon…

Plz share some code to handle this

Hi,

unfortunately the Tree does not support adding components into it. However, writing a simple server-side tree component should not be too difficult. You could use
this add-on
as a starting point.

Another option could of course be the TreeTable which does accept components into it.

-tepi