react-data-grid-another

1.2.1 • Public • Published

react-data-grid-another

if you use react-data-grid, please use the real repository of react-data-grid

Install

npm install --save react-data-grid-another

Usage

import ReactDataGrid from 'react-data-grid-another';
 
const columns = [{ key: 'id', name: 'ID' }, { key: 'title', name: 'Title' }];
const rows = [{ id: 1, title: 'Title 1' }, ...];
const rowGetter = rowNumber => rows[rowNumber];
 
const Grid = () => {
  return <ReactDataGrid
    columns={columns}
    rowGetter={rowGetter}
    rowsCount={rows.length}
    minHeight={500} />);
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.1
    1
  • 1.2.0
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i react-data-grid-another

Weekly Downloads

1

Version

1.2.1

License

MIT

Unpacked Size

348 kB

Total Files

7

Last publish

Collaborators

  • scratchx