New to KendoReact? Learn about KendoReact Free.
MultiSelect
Represents the KendoReact MultiSelect component.
Accepts properties of type MultiSelectProps.
Obtaining the ref
returns an object of type MultiSelectHandle.
jsx
class App extends React.Component {
multiselect = null;
render() {
return (
<div>
<MultiSelect
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={component => this.multiselect = component}
/>
<button onClick={() => alert(this.multiselect.value)}>alert value</button>
</div>
);
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the MultiSelect component. |