Demos
Documentation
API
More Samples
Download Wijmo

ComboBox with HTML Content

Most ComboBox controls display items in the drop-down list as plain text. You can override this using the isContentHTML property or by assigning HTML directly to the items using the formatItem event.

The formatItem event provides more flexibility because it can be used to apply arbitrary templates to raw Javascript objects. If you do this, remember to set the combo's headerPath property to the name of a property to display in the combo's input element (which can only show plain text):