New to KendoReact? Start a free 30-day trial
TreeView
TreeViewPremium
A subclass of React.Component.
Represents the KendoReact TreeView component.
jsx
const data = [{
text: 'Furniture', expanded: true, items: [
{ text: 'Tables & Chairs' }, { text: 'Sofas' }, { text: 'Occasional Furniture' }]
}, {
text: 'Decor', expanded: true, items: [
{ text: 'Bed Linen' }, { text: 'Curtains & Blinds' }, { text: 'Carpets' }]
}];
const App = () => {
return <TreeView data={data} />;
}
Name | Type | Default | Description |
---|---|---|---|
guid |
|
Returns the | |
props |
|
The props of the TreeView component. |