• Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • Fabric
  • Fabric Dark
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.
Essential Studio
All Controls

Example of Local Data in ASP.NET Core Dropdown Tree Control

This sample demonstrates explains you about the different local data binding supports of the Dropdown Tree control. Click the Dropdown Tree element, and then select an item from the hierarchical structure suggestion list.


Hierarchical Data

List Data

The Dropdown Tree control loads the data through the dataSource property, where the data can be either local data or remote data. In case of local data, the data structure can be hierarchical data or list data (with self-referential format i.e., mapped with the value and parentValue fields).

In this demo, the first Dropdown Tree is bound with the hierarchical data that contains the array of nested objects. And, the second Dropdown Tree is bound with the list type data where the parent-child relation is referred by the value and parentValue mapping fields.