Custom Rendering

The DropDownTree provides options for customizing the way it renders its elements.

Items and Value element

To customize the content of each option list item, use the item prop. To customize the element content that holds the selected text, use the valueHolder prop.

The following example demonstrates how to customize the list elements and the element that holds the selected text.

Example
View Source
Change Theme:

No Data

To customize the content of the option list when no data is present, use the listNoData prop.

Example
View Source
Change Theme:

In this article

Not finding the help you need?