@jsvision/datagrid / RowValidation
Interface: RowValidation
Defined in: datagrid/src/validation.ts:39
The result of a per-row cross-field validateRow check: ok accepts the row; on !ok the row-leave is blocked, message is surfaced, and the cursor refocuses the column named by field (falling back to the current column when field is absent or unknown).
Properties
field?
readonlyoptionalfield?:string
Defined in: datagrid/src/validation.ts:45
The column id to refocus on failure (the offending field).
message?
readonlyoptionalmessage?:string
Defined in: datagrid/src/validation.ts:43
The message to surface on failure.
ok
readonlyok:boolean
Defined in: datagrid/src/validation.ts:41
Whether the row passes — false blocks the leave.