API REFERENCE
GridComponentDefinitionFor
Fields, allowed values, and APIs that use GridComponentDefinitionFor.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export type GridComponentDefinitionFor<
TKind extends GridComponentKind,
TData = Record<string, unknown>,
TValue = unknown,
TModel = unknown,
TContext = unknown,
> = GridComponentDefinitionMap<TData, TValue, TModel, TContext>[TKind];APIs using this type
- registerGridComponent
Registers a custom Grid component under the public component contract.
- replaceGridComponent
Replaces a registered custom component definition.