From NSB App Studio
Jump to navigation Jump to search


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/.


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", _
  $("#ListBox1").jqxListBox({source: source});
  ' set the selected index back to 0
  $("#ListBox1").jqxListBox({selectedIndex: 0});
End Sub


See above.