New to Kendo UI for AngularStart a free 30-day trial

Default Item

The DropDownList enables you to configure its default item.

The defaultItem property type has to match the data type. For example, if the data property contains a list of objects, the defaultItem has to be defined as an object with the same textField and valueField as the data items.

The following example demonstrates how to define a defaultItem as a primitive value (strings, numbers, or other).

Change Theme
Theme
Loading ...

The following example demonstrates how to define a defaultItem as a complex value (objects).

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support