• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

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.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab