Name | Type | Default |
animationType
|
String
|
'slide'
|
Sets or gets the animationType property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} animationType={ 'fade'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
autoComplete
|
Boolean
|
false
|
Sets or gets the autoComplete property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} autoComplete={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
autoOpen
|
Boolean
|
false
|
Sets or gets the autoOpen property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} autoOpen={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
autoItemsHeight
|
Boolean
|
false
|
Sets or gets the autoItemsHeight property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} autoItemsHeight={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
autoDropDownHeight
|
Boolean
|
false
|
Sets or gets the autoDropDownHeight property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} autoDropDownHeight={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
closeDelay
|
Number
|
400
|
Sets or gets the closeDelay property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} closeDelay={2000} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
checkboxes
|
Boolean
|
false
|
Sets or gets the checkboxes property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} checkboxes={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
disabled
|
Boolean
|
false
|
Sets or gets the disabled property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} disabled={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
displayMember
|
String
|
""
|
Sets or gets the displayMember property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} displayMember={ 'text'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
dropDownHorizontalAlignment
|
String
|
'left'
|
Sets or gets the dropDownHorizontalAlignment property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} dropDownHorizontalAlignment={ 'right'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
dropDownVerticalAlignment
|
String
|
'bottom'
|
Sets or gets the dropDownVerticalAlignment property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} dropDownVerticalAlignment={ 'top'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
dropDownHeight
|
Number
|
200
|
Sets or gets the dropDownHeight property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} dropDownHeight={300} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
dropDownWidth
|
Number
|
200
|
Sets or gets the dropDownWidth property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} dropDownWidth={300} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
enableHover
|
Boolean
|
true
|
Sets or gets the enableHover property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} enableHover={false} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
enableSelection
|
Boolean
|
true
|
Sets or gets the enableSelection property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} enableSelection={false} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
enableBrowserBoundsDetection
|
Boolean
|
false
|
Sets or gets the enableBrowserBoundsDetection property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} enableBrowserBoundsDetection={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
height
|
Number
|
null
|
Sets or gets the height property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
itemHeight
|
Number
|
-1
|
Sets or gets the itemHeight property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} itemHeight={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
multiSelect
|
Boolean
|
false
|
Sets or gets the multiSelect property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} multiSelect={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
minLength
|
Number
|
2
|
Sets or gets the minLength property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} minLength={2} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
openDelay
|
Number
|
350
|
Sets or gets the openDelay property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} openDelay={2000} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
popupZIndex
|
Number
|
20000
|
Sets or gets the popupZIndex property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} popupZIndex={2000} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
placeHolder
|
String
|
""
|
Sets or gets the placeHolder property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} placeHolder={ 'Text'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
remoteAutoComplete
|
Boolean
|
false
|
Sets or gets the remoteAutoComplete property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} remoteAutoComplete={true} remoteAutoCompleteDelay={200} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
remoteAutoCompleteDelay
|
Number
|
300
|
Sets or gets the remoteAutoCompleteDelay property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} remoteAutoComplete={true} remoteAutoCompleteDelay={200} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
renderer
|
function
|
null
|
Sets or gets the renderer property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} renderer={renderer} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
renderSelectedItem
|
function
|
null
|
Sets or gets the renderSelectedItem property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} renderSelectedItem={renderSelectedItem} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
rtl
|
Boolean
|
false
|
Sets or gets the rtl property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} rtl={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
selectedIndex
|
Number
|
-1
|
Sets or gets the selectedIndex property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} selectedIndex={0} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
showArrow
|
Boolean
|
true
|
Sets or gets the showArrow property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} showArrow={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
showCloseButtons
|
Boolean
|
true
|
Sets or gets the showCloseButtons property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} showCloseButtons={true} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
searchMode
|
String
|
startswith
|
Sets or gets the searchMode property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} searchMode={ 'contains'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
search
|
function
|
null
|
Sets or gets the search property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} search={search} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
source
|
Array
|
null
|
Sets or gets the source property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
scrollBarSize
|
Number
|
17
|
Sets or gets the scrollBarSize property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} scrollBarSize={10} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
template
|
String
|
'default'
|
Sets or gets the template property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} template={ 'success'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
theme
|
String
|
''
|
Sets or gets the theme property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} theme={ 'energyblue'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
validateSelection
|
Function
|
null
|
Sets or gets the validateSelection property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} validateSelection={validateSelection} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
valueMember
|
String
|
""
|
Sets or gets the valueMember property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} valueMember={ 'value'} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
width
|
Number
|
null
|
Sets or gets the width property.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
|
bindingComplete
|
Event
|
|
This event is triggered when the data binding operation is completed.
Code examples
Bind to the bindingComplete event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('bindingComplete', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
checkChange
|
Event
|
|
This event is triggered when an item is checked/unchecked.
Code examples
Bind to the checkChange event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('checkChange', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
close
|
Event
|
|
This event is triggered when the popup ListBox is closed.
Code examples
Bind to the close event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('close', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
change
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the change event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('change', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
open
|
Event
|
|
This event is triggered when the popup ListBox is opened.
Code examples
Bind to the open event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('open', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
select
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the select event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('select', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
unselect
|
Event
|
|
This event is triggered when the user unselects an item.
Code examples
Bind to the unselect event of jqxComboBox.
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.on('unselect', (event) => { // Do Something... }); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
|
Name | Return Type |
addItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.addItem('item'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
clearSelection
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.clearSelection(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
clear
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.clear(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
close
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.close(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
checkIndex
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.checkIndex(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
checkItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.checkItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
checkAll
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.checkAll(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
destroy
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.destroy(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
disableItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.disableItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
disableAt
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.disableAt(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
enableItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.enableItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
enableAt
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.enableAt(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
ensureVisible
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.ensureVisible(10); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
focus
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.focus(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getItem
|
Object
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getItem(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getItemByValue
|
Object
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getItemByValue('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getVisibleItems
|
Array
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getVisibleItems(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getItems
|
Array
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getItems(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getCheckedItems
|
Array
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getCheckedItems(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getSelectedItem
|
Object
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getSelectedItem(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getSelectedItems
|
Array
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getSelectedItems(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
getSelectedIndex
|
Number
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.getSelectedIndex(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
insertAt
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.insertAt('Item1',0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
isOpened
|
Boolean
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.isOpened(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
indeterminateIndex
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.indeterminateIndex(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
indeterminateItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.indeterminateItem('Item1',0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
loadFromSelect
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.loadFromSelect('id'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
open
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.open(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
removeItem
|
Boolean
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.removeItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
removeAt
|
Boolean
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.removeAt(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
selectIndex
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.selectIndex(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
selectItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.selectItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
searchString
|
String
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.searchString(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
updateItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.updateItem('Item1','New Item'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
updateAt
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.updateAt('Item1',0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
unselectIndex
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.unselectIndex(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
unselectItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.unselectItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
uncheckIndex
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.uncheckIndex(0); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
uncheckItem
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.uncheckItem('Item1'); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
uncheckAll
|
None
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { this.refs.myComboBox.uncheckAll(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|
val
|
String
|
import React from 'react'; import ReactDOM from 'react-dom'; import JqxComboBox from 'jqwidgets-react/react_jqxcombobox.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myComboBox.val(); } render() { let countries = [ { value: 'DE', label: 'Germany' }, { value: 'UK', label: 'United Kingdom' }, { value: 'US', label: 'United States' } ]; return ( <JqxComboBox ref= 'myComboBox' source={countries} width={200} height={25} /> ) } } ReactDOM.render( <App />, document.getElementById( 'app'));
|