wijmo.knockout.input Class wjComboBox Wijmo API Class

wjComboBox Class

KnockoutJS binding for the ComboBox control.

Use the wjComboBox binding to add ComboBox controls to your KnockoutJS applications. For example:

<p>Here is a ComboBox control:</p>
<div data-bind="wjComboBox: {
  itemsSource: countries,
  text: theCountry,
  isEditable: false,
  placeholder: 'country' }">

The wjComboBox binding supports all read-write properties and events of the ComboBox control. The following properties provide two-way binding mode:

  • isDroppedDown
  • text
  • selectedIndex
  • selectedItem
  • selectedValue