Getting Started with KendoReact ListView
The KendoReact ListView enables you to display a custom layout of data items.
The ListView is ideally suited for displaying a list of items in a consistent manner. You can see commonplace examples of its use in the design structures of the Internet, search engine results, tweets from Twitter, Facebook updates, inbox items in Gmail, card lists in Instagram, and so on.
Basic Usage
The following example demonstrates the ListView in action.
Functionality and Features
Installation
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-react-listview @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { ListView, ListViewHeader, ListViewFooter } from '@progress/kendo-react-listview';
// CommonJS format const { ListView, ListViewHeader, ListViewFooter } = require('@progress/kendo-react-listview');
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.
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 ListView 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-react-common