Is the value stored by the Select Tree different from the Select?
No. This is a Select that is displayed in a pop-up window and has a tree structure.
What additional parameter needs to be specify for the Select Tree to work?
The tree is built by the function selectRowListForTree.
The key additional parameter is the name
parameter parent
— it should specify the name
of the field that stores which row is the parent.
Also, if you need the tree to start not from the root, but from some specific values, you need to set roots
.
What does it mean to build a tree from one table?
This means that the values of the folders and the values inside the folders are in the same table.
The tree is built from a single table must be enabled.
In this case, is it possible to select folders as the value? Is it possible to disable it?
In this case, folders can be selected as values.
But this can be disabled by deactivating the folders can be selected parameter.
What does it mean to create a Select Tree from another table?
This means that our folder structure is stored in a separate table from the values.
So we have two trees nested within each other. Folders are a nested tree.
Is it possible to select folders as a value in this case? Why?
In this case, folders cannot be selected because their values are stored in a separate table.