A fully functional, high performance, and easy to customize data grid solution for React projects.
Features:
- Sorting
- Pagination
- Filtering
- Stacked columns
- Inline edit
- Context menu
- Keyboard navigation
- Row selection
- Cell selection
- Powerful customization
- Beautiful themes
- Touch devices ready
- RTL
- Cell rowspan & colspan
- Custom scroll
- Column reorder
- Column resize
Install & Import:
# NPM $ npm i @inovua/reactdatagrid-community --save
import React from 'react'; import ReactDataGrid from '@inovua/reactdatagrid-community'; import '@inovua/reactdatagrid-community/index.css';
Basic Usage:
// define columns const columns = [ { name: 'name', header: 'Name', minWidth: 50, defaultFlex: 2 }, { name: 'age', header: 'Age', maxWidth: 1000, defaultFlex: 1 }, ]; // define grid styles here const gridStyle = { minHeight: 550 }; // define tabular data here const dataSource = [ { id: 1, name: 'John McQueen', age: 35 }, { id: 2, name: 'Mary Stones', age: 25 }, { id: 3, name: 'Robert Fil', age: 27 }, { id: 4, name: 'Roger Robson', age: 81 }, { id: 5, name: 'Billary Konwik', age: 18 }, { id: 6, name: 'Bob Martin', age: 18 }, { id: 7, name: 'Matthew Richardson', age: 54 }, { id: 8, name: 'Ritchie Peterson', age: 54 }, { id: 9, name: 'Bryan Martin', age: 40 }, { id: 10, name: 'Mark Martin', age: 44 }, { id: 11, name: 'Michelle Sebastian', age: 24 }, { id: 12, name: 'Michelle Sullivan', age: 61 }, { id: 13, name: 'Jordan Bike', age: 16 }, { id: 14, name: 'Nelson Ford', age: 34 }, { id: 15, name: 'Tim Cheap', age: 3 }, { id: 16, name: 'Robert Carlson', age: 31 }, { id: 17, name: 'Johny Perterson', age: 40 }, ]; // render the data grid export default () => ( <ReactDataGrid idProperty="id" columns={columns} dataSource={dataSource} style={gridStyle} /> );
Preview:
Download Details:
Author: inovua
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/inovua/reactdatagrid
License: MIT