Optional
allowOptional
cellAllow for cells to be inset. This is a way to account for borders. By default this is 1, 1, 1,x
Optional
cellOptional
cellReturn the actual element to render
There can be many cells so care should be taken to ensure these are as performant as possible. By default the pointerEvents are set to none. To enable interaction this should be overwritten.
Optional
clipClip overflow of cells unless explicitly provided
Number of columns in the grid
Optional
cursorCursor used for grid
Optional
defaultPassed through to
useCellLayoutHook. If cellLayout property is provided this is ignored
Optional
defaultPassed through to
useCellLayoutHook. If cellLayout property is provided this is ignored
Optional
enableEnable dragging active cell and selections
Optional
freezeNumber of frozen left
Optional
freezeAllow for customization of freezeTopDivider
Optional
freezeNumber of frozen top
Optional
freezeAllow for customization of freezeTopDivider
Optional
getPassed through to
useCellLayoutHook. If cellLayout property is provided this is ignored
Optional
getPassed through to
useCellLayoutHook. If cellLayout property is provided this is ignored
Optional
getAllows for optimization of rendering. This will allow for quick skipping of cells that have nothing to render. If this is not specified then all cells within the visible range will be iterated and if hiddenCellAt does not return false a then cell renderer will be called.
either a CellCoord that should be rendered or an object with a coord and value. Note - the value is passed to the cell renderer
Optional
gridCustomize grid line color
This is overwritten by gridlinePropsVertical and gridlinePropsHorizontal
Optional
gridGridline props for columns
Optional
gridGridline props for rows
Optional
heightHeight of the grid container
Optional
hiddenThis will skip rendering. Note - This is superseded by hiddenRowsAt and hiddenColumnsAt. This is typically used for cells that have nothing to render
Optional
hiddenWill skip rendering for this columns and the adjacent columns in the given direction.
Optional
hiddenWill skip rendering for this row and the adjacent rows in the given direction.
Optional
mergedIs either an array of merged cells or a CellRangeLookup
Optional
onCall only once when the renders for the first time.
Optional
onCalled immediately on scroll. Used for programmatic changes. Called even on load
Optional
onFired when the view port changes. This is in pixel coordinates and is slightly different than viewable cells because off screen location range could change
Optional
onCalled on scroll, subject to debouncing. Used for programmatic changes. Called even on load
Optional
onWhen wheel mouse is called. If return false then wheelMouse will not be processed
Optional
overlaysRender elements for the view. This will be called whenever the viewport changes
Optional
overlaysProps called to overlays
Number of rows in the grid
Optional
scrollThe location of the top left scroll corner
Optional
showShow grid lines. Useful for spreadsheets NOTE - should we just allow gridline renderers to be null?
Optional
stageProps that can be injected to stage
Optional
stageAllows users to Wrap stage children in Top level Context
Optional
widthWidth of the grid container
Optional
zoomZoom. 1 means no zoom
1 or none.
Overlays are generally clipped to fit in the viewport but this allows for the properties to be overridden.