Bind Data to Tree Element

The Tree element cannot be used as a special list; it is therefore dependent on the data table. To bind data to the Tree element:

  1. You can bind data from the “Options” section in the Properties panel on the right sidebar.
  • Actions: This is the field where the data to be linked to the Tree element is defined or selected.some text
    • Field to Display ID: One of the columns in the Datasource is selected to display the data extracted. In this field, the database column to be displayed should be selected.
    • Field to Use as Key: It is the part where the data type to be used as key in the extracted data is selected. Usually “Guid” is selected.
    • Field to Use as Parent: In the data to be extracted, parent ID is selected in this field. The order of the data is determined with this value. If the data to be pulled is to be displayed at the top, not under any parent, the value of the parent ID should be returned as “null”.

You can perform the data connection by following these steps.