2.0.62 • Published 8 years ago

@vestin/react-data-grid v2.0.62

Weekly downloads
-
License
MIT
Repository
-
Last release
8 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.62

8 years ago

2.0.61

8 years ago

2.0.60

8 years ago

2.0.59

8 years ago

2.0.57

8 years ago

2.0.56

8 years ago

2.0.55

8 years ago

2.0.2

8 years ago

2.0.54

8 years ago

2.0.1

8 years ago