TreeView

A subclass of React.Component.

Represents the KendoReact TreeView component.

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' }]
}];
class App extends React.Component {
    render() {
        return <TreeView data={data} />;
    }
}
ReactDOM.render(<App />, document.querySelector('my-app'));

props Readonly<TreeViewProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the TreeView component.

guid string

Returns the guid which is associated with the TreeView.

 /