.. include:: /Includes.rst.txt .. _columns-select-rendertype-selectTree: ========== selectTree ========== The :php:`selectTree` render type is used to display hierarchical data in a tree structure. A field with the :php:`selectTree` render type allows you to represent data in a hierarchical manner, similar to a tree. It is typically used when working with database tables that have a hierarchical structure. The properties :ref:`treeConfig ` and :ref:`foreign_table ` are mandatory and must be provided to establish the connection to the relevant database table. Optionally, you can also use :ref:`items ` or :ref:`itemsProcFunc ` to pass the values, but these are not sufficient on their own. The top-level item in the tree will always represent the descriptive name of the table. Regarding joining several tables, the :php:`selectTree` render type can handle multiple tables through the configuration options. .. include:: /Images/Rst/SelectTree1.rst.txt .. toctree:: :titlesonly: Examples Properties