• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection

Example for Grouping and Icon in ASP.NET MVC 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.




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 the all suggestion items while clicking on 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 the documentation section.