New to KendoReact? Start a free 30-day trial
MultiColumnComboBox
Represents the MultiColumnComboBox component.
Accepts properties of type MultiColumnComboBoxProps.
Obtaining the ref
returns an object of type MultiColumnComboBoxHandle.
jsx
const columns = [
{
field: "id",
header: "ID",
width: "100px",
},
{
field: "name",
header: "Name",
width: "300px",
},
{
field: "position",
header: "Position",
width: "300px",
},
];
const App = () => {
return (
<div>
<div>Employees:</div>
<MultiColumnComboBox
data={employees}
columns={columns}
textField={"name"}
style={{
width: "300px",
}}
placeholder="Please select ..."
/>
</div>
);
};
ReactDOM.render(<App />, document.querySelector("my-app"));
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the MultiColumnComboBox component. |