OptionalallowSet false when the cell is being drawn somewhere its own sheet's geometry does not apply — a
list or menu built from real cells. The extrusion the SDK reports (ICell.getTextOverflow) is
measured against the SOURCE column's width and ITS neighbors, so away from the sheet it places
text against a geometry the surrounding pixels do not have. With this off the renderer lays out
purely in the bounds it is given, and text that does not fit is clipped.
Only text can extrude — a number or date that does not fit is replaced by # either way.
The range bounds relative to the current viewport and zoom.
The cell coords that is being rendered.
Optionaldata-Absolute cell-coordinate stamp ("rowIndex:colIndex"), provided by the layer.
A renderer that spreads its rest props onto its root element carries this automatically; a
custom renderer must place it on its root itself. It is the hook the layer's live suppression
rule targets (see CellLayerProps.suppressCell) — per-coordinate CSS over immutable cached
tiles, so transient state (an open editor) never invalidates the tile cache. Coordinates are
SHEET-absolute (never tile- or pane-relative): a cell rendered in more than one pane (a merge
spanning a freeze line) matches the one selector in every instance.
OptionaldocAbility to query the theme colors. Note - There are also css variables that can be used to style using doc theme colors
OptionalnormalAn optimization that tells the render all of the styling is normal. And doesn't need to be overwritten.
OptionalonCallback for when a link has been clicked.
The mouse event
OptionalrangeThe RangeCoords that is being rendered.
OptionalshowIf true, prefer to show the formulas over values
OptionalshowIf true, show zero values
A value to render.
OptionalzoomThe zoom CellRendererProps.bounds were measured at.
A renderer is handed the zoom, never the pane it came from: everything it needs to draw one cell
is data (the value, the bounds, the scale), so it stays a pure function of its props and can be
rendered anywhere a caller can supply bounds — a preview, a tooltip, a cell drawn outside its own
column. A renderer that genuinely needs the live view (hover, scroll) reads it from context with
useGridPane.
The bounds already have the zoom applied; this is for what CSS pixels do not carry — an unscaled inset, a glyph size, a stroke width the renderer picks itself.
Allow text that does not fit to paint over its empty neighbors, as it does in a sheet.