ColumnInferenceMode
Since v2.17.0
How automatic column inference combines with explicitly provided columns.
'auto'(default): infer columns only when none are provided. Declaring a single column (viacolumns,gridConfig.columns, or<tbw-grid-column>) disables inference and renders only the declared column(s).'merge': always infer the full column set from the data (in data-key order), then overlay any explicitly provided columns matched byfield. A provided column customizes only its own field and keeps its data position; provided columns for fields absent from the data are appended as computed columns.
Use ColumnInferenceModeEnum to access individual values by key.
Column inference mode — see ColumnInferenceModeEnum for values.
type ColumnInferenceMode = typeof ColumnInferenceModeEnum[keyof typeof ColumnInferenceModeEnum]Runtime Values
Section titled “Runtime Values”Use ColumnInferenceModeEnum to reference these values from runtime code:
const ColumnInferenceModeEnum = { AUTO: 'auto', MERGE: 'merge',} as const;| Key | Value |
|---|---|
AUTO | 'auto' |
MERGE | 'merge' |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt