Lightweight performance efficient
data grid component for React

Getting started

Installation

Regrid is available on npm and can be installed from the command line via npm or yarn:
npm i regridjs --save
or
yarn add regridjs

Usage

  1. Import the package
    import Regrid from 'regridjs';
  2. Define an array with some data
    const data = [{
      id: 1,
      firstName: 'John',
      lastName: 'Smith'
    }, ...];
  3. Include the component
    // some other code
    
    <Regrid
      dataSource={data}
      columns={[{
        key: 'firstName',
        caption: 'First name'
      }, {
        key: 'lastName',
        caption: 'Last name'
      }]}
    />
    
    // some other code