JqxListBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:Jqxlistbox.png]] | [[File: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 == | |||
<pre> | |||
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 | |||
</pre> | |||
== Output == | |||
See above. | |||
[[Category:Language Reference]] | [[Category:Language Reference]] |
Latest revision as of 17:16, 7 April 2016
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.