GridCommand API
Definition
All mutations to GridState go through state.apply(GridCommand).
All variants
Selection
Row checkboxes
Checked state (GridState.checked_rows) is tracked separately from
SelectionState, keyed by physical row id so it survives sort/filter
changes. See Selection
for the full model.
Scrolling & Viewport
Columns
CommitColumnResize records the old size for undo history. For programmatic
resizing use ResizeColumn directly.
Sorting & Filtering
Editing
ValidateEdit re-checks the in-progress edit's pending value without
committing — a no-op without an active edit, and it creates no undo entry.
rs-grid-web dispatches it on every keystroke for live feedback. See
Validation for ValidationRule and
InvalidEditMode.
Clipboard
Search
Undo / Redo
Display
Server-side data
Behaviour toggles
CommandOutput
PasteApplied/CellsCleared's cells is what rs-grid-web passes to its
success-flash animation, instead of the full selection/target rectangle —
see Selection & Clipboard.

