(Showing Draft Content)

wjListBox Class

wjListBox Class

KnockoutJS binding for the ListBox control.

Use the wjListBox binding to add ListBox controls to your KnockoutJS applications. For example:

<p>Here is a ListBox control:</p>
<div data-bind="wjListBox: {
  itemsSource: countries,
  selectedItem: theCountry }">

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

  • selectedIndex
  • selectedItem
  • selectedValue


  • WjBinding
    • wjListBox