• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
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.

DEMO
SOURCE

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.