2.0.78 • Published 6 years ago

kf-data-grid v2.0.78

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years 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
utilsutils
shapesshapes
_constants_constants
_helpers_helpers
2.0.78

6 years ago

1.0.0

6 years ago

2.0.77

6 years ago

2.0.76

6 years ago

2.0.72

7 years ago

2.0.71

7 years ago

2.0.7

7 years ago

2.0.4

7 years ago

2.0.73

7 years ago

2.0.2

7 years ago

2.0.0

7 years ago

2.0.1

7 years ago