react-data-grid
Install
npm install 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 = rowsrowNumber; const Grid = return <ReactDataGrid = = = = />);
Exports
Aside from the grid this package exports:
name | source |
---|---|
RowComparer | RowComparer |
RowsContainer | RowsContainer |
Row | Row |
Cell | Cell |
HeaderCell | HeaderCell |
shapes | shapes |
_helpers | _helpers |