6.2.6 • Published 4 months ago

rollun-react-data-grid v6.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

react-data-grid

The core of react-data-grid

Install

npm install --save react-data-grid

Usage

import ReactDataGrid from 'react-data-grid';

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} />);
}

Exports

Asside from the grid this package exports:

namesource
RowComparerRowComparer
RowsContainerRowsContainer
RowRow
CellCell
HeaderCellHeaderCell
editorsEditors
formattersFormatters
shapesshapes
_constants_constants
_helpers_helpers
6.1.16

5 months ago

6.2.1

5 months ago

6.2.0

5 months ago

6.2.3

5 months ago

6.2.2

5 months ago

6.2.5

4 months ago

6.2.4

5 months ago

6.2.6

4 months ago

6.1.13

1 year ago

6.1.12

2 years ago

6.1.11

2 years ago

6.1.10

2 years ago

6.1.8

2 years ago

6.1.7

2 years ago

6.1.6

2 years ago

6.1.5

2 years ago