# DropDownButton Data Binding

The DropDownButton enables you to bind its popup to an array of primitive values (strings and numbers) or to an array of objects through the [`data`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/dropdownbuttoncomponent#data) input.

## Arrays of Primitive Data

The following example demonstrates how to bind the DropDownButton to an array of primitive data.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/dropdownbutton/data_binding/primitive/source.txt)

## Arrays of Complex Data

When the DropDownButton is bound to complex data (objects), the component displays the `text` field of each item by default. To use another field, set [`textField`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/dropdownbuttoncomponent#textfield) to its name. The configured field takes precedence over `text`.

Data items can also set `disabled`, `icon`, `svgIcon`, `iconClass`, `imageUrl`, and `click`. The `click` field runs a function when the user selects that item. For the complete list of item fields, see [`ListItemModel`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/listitemmodel).

> To customize the popup item content, see [Item Templates](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/dropdownbutton/items-and-templates#item-templates).

The following example demonstrates how to bind the DropDownButton to object data.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/dropdownbutton/data_binding/complex/source.txt)

## Suggested Links

* [DropDownButton API Reference](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/dropdownbuttoncomponent)
* [ListItemModel API Reference](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/listitemmodel)
* [Angular DropDownButton](https://www.telerik.com/kendo-angular-ui/dropdownbutton)
