JqxListBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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. | |||
== Properties and Methods == | |||
See the complete documentation at jqWidget's site: | |||
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxlistbox/jquery-listbox-getting-started.htm | |||
== 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]] |
Revision as of 20:13, 16 March 2013
Description
The jqxListBox represents a jQuery listbox widget that contains a list of selectable items.
Properties and Methods
See the complete documentation at jqWidget's site: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxlistbox/jquery-listbox-getting-started.htm
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.