Getting Started with KendoReact TreeList

The KendoReact TreeList enables the display of self-referencing tabular data and allows sorting, filtering, and data editing.

The KendoReact TreeList component is part of the KendoReact library of React UI components. It is distributed through NPM under the kendo-react-treelist package.

The TreeList Package is part of KendoReact, a professionally built commercial UI library. To try out this TreeList you need to sign up for a 30-day trial, which gives you access to the full KendoReact library.


Basic Usage

The following example demonstrates the TreeList in action.

Example
View Source
Edit In Stackblitz  
Change Theme:

Functionality and Features

Installation

  1. Download and install the package. Use Node.js v5.0.0 or later.

    npm install --save @progress/kendo-react-treelist @progress/kendo-data-query @progress/kendo-drawing @progress/kendo-date-math @progress/kendo-react-data-tools @progress/kendo-react-dateinputs @progress/kendo-react-dropdowns @progress/kendo-react-inputs  progress/kendo-react-intl @progress/kendo-licensing
  2. Once installed, import the package module.

    // ES2015 module syntax
    import { TreeList } from '@progress/kendo-react-treelist';
    // CommonJS format
    const { TreeList } = require('@progress/kendo-react-treelist');
  3. You are required to install one of the KendoReact themes to style your components. For more information on how to add the styles, refer to the article on getting started.

  4. Follow the instructions on the KendoReact My License page to activate your license. You can skip this step if your application already contains a KendoReact license file.

Dependencies

The TreeList package requires the following peer dependencies that have to be installed by your application:

  • react 16.8.2*
  • react-dom
  • @progress/kendo-licensing
  • @progress/kendo-data-query
  • @progress/kendo-drawing
  • @progress/kendo-date-math
  • @progress/kendo-react-data-tools
  • @progress/kendo-react-dateinputs
  • @progress/kendo-react-dropdowns
  • @progress/kendo-react-inputs
  • @progress/kendo-react-intl

In this article

Not finding the help you need?