Example of Grouping and Icon in ASP.NET Core Dropdown List Control

This sample demonstrates the grouping and icons supports of the DropDownList. Click the DropDownList element and select an item from the categorized list/icons list.

DEMO
SOURCE

Grouping

Icons

The DropDownList allows to group the relevant items under a corresponding category by mapping the groupBy field, and allows to load the list items with icons.

The grouping sample illustrates how the vegetables are grouped based on its category.

The 2nd DropDownList is populated with icons that is rendered by mapping the iconCss field.

More information on the grouping feature configuration can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE