WarUI

Grid-level validators

GRID-A15-F07P1baselinePlanned

Validators that see the entire dataset. They cover uniqueness across rows, totals that must match a budget, and minimum or maximum row counts. They run incrementally where possible and report errors at the cell, row or grid scope.

Planned. This page shows the specification from issue #195. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Allocation grid with 6 departments and a Percent column. A footer shows the total.

Expected behavior

Duplicate codes flag every duplicate cell. A sum that differs from 100 shows a grid-scope error in the footer and in the summary. Editing an unrelated column does not re-run validators that declare dependsOnFields.

Planned API surface

gridValidatorsGridValidatorFnGridValidationError.scopedependsOnFieldsgridValidationChange

Acceptance criteria

  • Grid validators re-run only when a field they depend on changes. (pending)
  • Errors with scope 'grid' are shown in the summary and in a status area. (pending)
  • Uniqueness errors are cleared from all participants when they are resolved. (pending)
  • Performance target: 10k rows validated in under 100 ms for a unique check (documented benchmark). (pending)