Example of Grouping and Icon in ASP.NET Core AutoComplete Control

This sample demonstrates the grouping and icons supports to the AutoComplete. Type a character in the AutoComplete element and choose an item from the categorized list/icons list.

DEMO
SOURCE

Grouping

Icons

The AutoComplete allows to group the relevant items under a corresponding category by mapping the groupBy field, and allows to load the list items with icons. And also enabled the showPopupButton property to show all the suggestion items while clicking on the popup button.

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

The 2nd AutoComplete is populated with icons which is rendered by mapping the iconCss field.

More information on the grouping feature configuration can be found in this 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