react-data-grid
Version:
Data grid for React
103 lines (42 loc) • 878 B
Markdown
`Viewport` (component)
======================
Props
-----
### `cellMetaData`
type: `shapeunknown`
### `columnMetrics` (required)
type: `object`
### `contextMenu`
type: `element`
### `expandedRows`
type: `array`
### `getSubRowDetails`
type: `func`
### `minHeight`
type: `number`
### `onRows`
type: `func`
### `onScroll`
type: `func`
### `rowGetter` (required)
type: `union(array|func)`
### `rowGroupRenderer`
type: `func`
### `rowHeight` (required)
type: `number`
### `rowKey` (required)
type: `string`
### `rowOffsetHeight` (required)
type: `number`
### `rowRenderer`
type: `union(element|func)`
### `rowScrollTimeout`
type: `number`
### `rowSelection`
type: `union(shape|shape|shape)`
### `rowsCount` (required)
type: `number`
### `selectedRows`
type: `array`
### `totalWidth` (required)
type: `union(number|string)`