0.0.24 • Published 7 years ago
@crpt/react-data-grid v0.0.24
react-data-grid
The core of react-data-grid
Install
npm install --save react-data-gridUsage
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:
| name | source |
|---|---|
| RowComparer | RowComparer |
| RowsContainer | RowsContainer |
| Row | Row |
| Cell | Cell |
| HeaderCell | HeaderCell |
| editors | Editors |
| formatters | Formatters |
| utils | utils |
| shapes | shapes |
| _constants | _constants |
| _helpers | _helpers |
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.13
7 years ago
0.0.11
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago
1.0.12
7 years ago
1.0.10
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago