Skip to main content

SheetInspector

Function SheetInspector 

Source
pub fn SheetInspector(_: SheetInspectorProps) -> Element
Expand description

Sidebar panel showing all cells with labels and inputs for writing — a checkbox for bool-typed cells, a single editable slider (its label built in) for a numeric cell with a range filter, a plain number field for any other numeric cell, and a text field for everything else.

Editing an input immediately writes the parsed value to the sheet and propagates constraints. If parsing or propagation fails (for example, non-numeric input or division by zero), the field renders in its invalid state until the user blurs, and the formatted diagnostic is printed to stderr. A field’s input is not reset while it is focused; it syncs back to the computed value on blur, keeping non-edited cells up to date.

§Props

For details, see the props struct definition.