New to Kendo UI for Angular? Start a free 30-day trial

Templates

Item Template

The ListBox enables you to customize the content of its items.

To customize the appearance of the items, nest an <ng-template> tag with the kendoListBoxItemTemplate inside the <kendo-listbox> tag.

The template context is set to the current data item.

The following example demonstrates how to display an icon and a description beside the text of a ListBox item.

Example
View Source
Change Theme:

In this article

Not finding the help you need?