JqxComboBox: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
The jqxComboBox control contains a list of selectable items displayed in a drop-down. Users can enter information in the text box portion and search for a specific item. The widget comes with built-in auto-complete support. It performs exceptionally well with thousands of items and supports keyboard navigation and rich list items visualization.  
The jqxComboBox control contains a list of selectable items displayed in a drop-down. Users can enter information in the text box portion and search for a specific item. The widget comes with built-in auto-complete support. It performs exceptionally well with thousands of items and supports keyboard navigation and rich list items visualization.  


Complete documentation is [http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxcombobox/jquery-combobox-getting-started.htm?search= here].
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.
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) ===
== Example ==
<pre>
 
<tabber>
JavaScript=
<syntaxhighlight lang="JavaScript">
//Get the current selection
ComboBox3.onselect = function(event) {
    i = event.args.index;
    NSB.MsgBox(i + " " + $("#ComboBox3").jqxComboBox('getItem', i ).label);
};
</syntaxhighlight>
|-|
BASIC=
<syntaxhighlight lang="vb.net">
'Get the current selection
'Get the current selection
Function ComboBox3_onselect(event)
Function ComboBox3_onselect(event)
   MsgBox event.args.index
   i = event.args.index
  MsgBox i & " " & $("#ComboBox3").jqxComboBox("getItem", i).label
End Function
End Function
</pre>
</syntaxhighlight>
</tabber>
=== Examples (JavaScript) ===
<pre>
//Get the current selection
ComboBox3.onselect = function(event) {
    NSB.MsgBox(event.args.index);
};
</pre>

Latest revision as of 14:33, 29 July 2019

The jqxComboBox control contains a list of selectable items displayed in a drop-down. Users can enter information in the text box portion and search for a specific item. The widget comes with built-in auto-complete support. It performs exceptionally well with thousands of items and supports keyboard navigation and rich list items visualization.

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.

Example

//Get the current selection
ComboBox3.onselect = function(event) {
    i = event.args.index;
    NSB.MsgBox(i + " " + $("#ComboBox3").jqxComboBox('getItem', i ).label);
};

'Get the current selection
Function ComboBox3_onselect(event)
  i = event.args.index
  MsgBox i & " " & $("#ComboBox3").jqxComboBox("getItem", i).label
End Function