JqxDropDownList

From NSB App Studio
Revision as of 20:07, 3 August 2023 by Ghenne (talk | contribs) (→‎Examples (JavaScript))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The jqxDropDownList represents a jQuery widget that contains a list of selectable items displayed in a drop-down.

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

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.

Examples (BASIC)

Sub Main()
  $("#DropDownList2").jqxDropDownList("selectItem", "two")
End Sub

Function DropDownList2_onselect(event)
  NSB.MsgBox event.args.item.index + " " + event.args.item.value
End Function

Examples (JavaScript)

function Main() {
    $("#DropDownList2").jqxDropDownList("selectItem", "two");
}

DropDownList2.onselect = function(event) {
  NSB.MsgBox(event.args.item.index + " " + event.args.item.value);
};