Skip to main content

Interface: GridColumnHelper<TProps>

Defined in: api/grid-column-helper.ts:25

Writes Grid columns for one Dataset. Each column's columnRenderer reads fieldValue as the type entry.read(field) answers for that key.

Type Parameters​

TProps​

TProps

Methods​

column()​

column<K>(field, options?): GridColumn

Defined in: api/grid-column-helper.ts:28

Call: columnHelper.column('start', { width: 72, columnRenderer: ({ fieldValue }) => … }). Returns the same column object as { field: 'start', width: 72, columnRenderer }.

Type Parameters​

K​

K extends string

Parameters​

field​

K

options?​

TypedGridColumnOptions<Exclude<FieldValue<TProps, K>, undefined>>

Returns​

GridColumn