API REFERENCE

GridComponentLocalDefinitions

Fields, allowed values, and APIs that use GridComponentLocalDefinitions.

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.

typescript
export interface GridComponentLocalDefinitions<
  TData = Record<string, unknown>,
  TValue = unknown,
  TModel = unknown,
  TContext = unknown,
> {
  readonly renderer?: Readonly<
    Record<string, GridRendererDefinition<TData, TValue, TContext>>
  >;
  readonly editor?: Readonly<
    Record<string, GridEditorDefinition<TData, TValue, TContext>>
  >;
  readonly filter?: Readonly<
    Record<string, GridFilterDefinition<TData, TValue, TModel, TContext>>
  >;
  readonly floatingFilter?: Readonly<
    Record<string, GridFloatingFilterDefinition<TModel, TContext>>
  >;
}

APIs using this type

Contracts containing this type