Difference between revisions of "JqxListBox"

From NSB App Studio
Jump to navigation Jump to search
 
Line 8: Line 8:
== Properties and Methods ==
== Properties and Methods ==


See the complete documentation at jqWidget's site:
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxlistbox/jquery-listbox-getting-started.htm


== Example ==
== Example ==

Latest revision as of 17:16, 7 April 2016

Jqxlistbox.png

Description

The jqxListBox represents a jQuery listbox widget that contains a list of selectable items.

jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.

Properties and Methods

This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.

Example

Sub Main()
  ' The source is a list of items
  source = ["Affogato","Americano","Bicerin","Breve","CaféBombón","Caféaulait", _
    "CafféCorretto","CaféCrema","CafféLatte","Caffémacchiato","Cafémélange", _
    "Coffeemilk","Cafemocha","Cappuccino","Carajillo","Cortado","Cubanespresso", _
    "Espresso","Eiskaffee","TheFlatWhite","Frappuccino","Galao","Greekfrappécoffee", _
    "IcedCoffee","Indianfiltercoffee","Instantcoffee","Irishcoffee","Liqueurcoffee"]
  $("#ListBox1").jqxListBox({source: source});
  ' set the selected index back to 0
  $("#ListBox1").jqxListBox({selectedIndex: 0});
End Sub

Output

See above.