The MultiColumnComboBox enables you to bind it to a list of possible values.
The list can contain objects only. To use an array of primitive values, use the ComboBox.
To bind the component to object data, define the
valueField properties. The MultiColumnComboBox will extract the
text values from the selected data item and in this way will set the selected value and text.
Even though the MultiColumnComboBox is bound to object data, it can still produce primitive values on value change. For more information, refer to the article on value binding.
The following example demonstrates how to bind the MultiColumnComboBox to an array of local object values.
The MultiColumnComboBox can also be bound to remote data. To indicate an ongoing loading operation, you can display a loading indicator by setting the
loading property to
The following example demonstrates how to bind the MultiColumnComboBox to remote data by using a service.