Data-app Studio · computed & hooks

Business logic on the schema. `total` is a COMPUTED field (qty * price) - read-only in grid + form, recomputed live as you type, never stored or submitted. withEntityRules materializes it onto every row and runs the schema hooks: beforeCreate stamps createdAt, and a cross-field validate rejects a non-positive quantity. (requires @svgrid/enterprise)

A live, editable Svelte 5 data grid example. Open the interactive demo or read the documentation.