Example of Grouping and Icons in Javascript Dropdown List Control

Grouping and Icons

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.

More Details...


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.