Skip to content

NestedPaths

Since v3.3.0

Strict, opt-in union of every valid nested dotted path through TRow.

Descends through plain object properties only — it deliberately stops at arrays, Date, RegExp, and functions (which are leaf values for grid purposes) and is depth-capped to avoid TS2589 (“excessively deep”) on self-referential / tree row shapes.

Plug it into a column/grid via the TField generic to get typo-checking on the full path instead of only the root key:

const config: GridConfig<Deal, NestedPaths<Deal>> = { columns: [...] };
type NestedPaths = unknown
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt