Getting Started with the KendoReact Data Grid

This guide provides essential information about using the KendoReact Data Grid—you will learn how to install the package, add the React Data Grid component to your project, style it, and activate your license.

After completing this guide, you will be able to reproduce the following example.

View Source
Change Theme:

If you want to see the Data Grid used in a complete app, check out our Sample Applications section.

Setting Up Your React Project

Before you install the KendoReact Grid package, make sure that you have a running React project. The easiest way to set up a React project is to use the Create React App approach that is described in the Get Started with KendoReact article.

Installing the Component

All KendoReact packages are distributed through npm and offer a similar installation experience. To use the Data Grid, start with the installation of the Grid package and its dependencies. Use Node.js v5.0.0 or later.

Navigate to the root folder of your React project and run the following command:

npm install --save @progress/kendo-react-grid @progress/kendo-data-query @progress/kendo-react-data-tools @progress/kendo-react-inputs @progress/kendo-react-intl @progress/kendo-react-dropdowns @progress/kendo-react-dateinputs @progress/kendo-drawing @progress/kendo-react-animation @progress/kendo-licensing @progress/kendo-react-buttons @progress/kendo-react-treeview @progress/kendo-react-popup @progress/kendo-svg-icons

Importing the Component

After installing the package, import the Grid component in the React App. To use the Grid columns, also import the GridColumn component. To add some sample data to the Grid, import the products.json file from the example above.

In the App component file of your React project (for example, src/App.js), add the imports.

// ES2015 module syntax
import { Grid, GridColumn as Column } from "@progress/kendo-react-grid";
import products from "./products.json";
// CommonJS format
const { Grid, GridColumn as Column } = require('@progress/kendo-react-grid');
const { products} = require('./products.json');

Using the Component

  1. After installing the Grid package and importing the component, add the Grid tags to the App component file of your React project (for example, src/App.js). Then add the columns that correspond to the data in the products.json file. Optionally, set the Grid's height.

    const App = () => {
    return (
            height: "400px",
        <Column field="ProductID" title="ID" width="40px" />
        <Column field="ProductName" title="Name" width="250px" />
        <Column field="Category.CategoryName" title="CategoryName" />
        <Column field="UnitPrice" title="Price" />
        <Column field="UnitsInStock" title="In stock" />
    ReactDOM.render(<App />, document.querySelector("my-app"));
  2. To style the Grid, install and import the Default theme, which is one of the three beautiful themes for KendoReact.

    2.1. Install the Default theme package.

    npm install --save @progress/kendo-theme-default

    2.2. Import the CSS file from the package in src/App.js. Add this import before your existing App.css import.

    import '@progress/kendo-theme-default/dist/all.css';
  3. Build and run the application by typing the following command in the root folder of your project:

    npm start
  4. Navigate to http://localhost:3000 to see the KendoReact Grid component on the page.

Activating Your License Key

Using any of the UI components in the KendoReact library requires either a commercial license key or an active trial license key.

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


The Grid package requires you to install the following peer dependencies in your application:

Package NameDescription
react 16.8.2*Contains the functionality necessary to define React components.
react-domContains the React renderer for the web.
@progress/kendo-licensingContains the internal infrastructure related to licensing.
@progress/kendo-react-intlContains the KendoReact Internationalization package that applies the desired cultures by providing services and pipes for the parsing and formatting of dates and numbers.
@progress/kendo-data-queryApplies sorting, filtering, grouping, and aggregate data operations.
@progress/kendo-react-animationEnables the animations in the KendoReact components.
@progress/kendo-react-data-toolsDelivers components required to manage and control the data in the application.
@progress/kendo-react-dateinputsContains the KendoReact Date Inputs components that are used to select the date and time for an appointment.
@progress/kendo-react-dropdownsContains the KendoReact Dropdowns, which allows users to choose from a predefined list of options.
@progress/kendo-react-inputsContains the KendoReact Inputs, which the input of data, based on a specific and predefined format.
@progress/kendo-drawingContains the Drawing library, which provides interactive vector graphics.
@progress/kendo-react-buttonsContains the KendoReact Buttons library, which provides buttons.
@progress/kendo-react-treeviewContains the KendoReact TreeView package that is used in the DropDowns.
@progress/kendo-react-popupContains the KendoReact Popup components.
@progress/kendo-svg-iconsContains the KendoReact SVG icons.

Implementing React Data Grid: Video Tutorial

If you prefer video, watch the React Data Grid Video Tutorial. You will see how to implement the KendoReact Data Grid and how to work the following grid features: theming and styling, paging and filtering.

Using the Template Wizard in VS Code

To quickly scaffold a KendoReact Data Grid, you can use the Kendo UI Template Wizard for Visual Studio Code. The template allows you to add a Grid to your application with a single click. It also lets you customize your application with one of the KendoReact themes. Read more about the Kendo UI Template Wizard for Visual Studio Code...

Learning Resources