Type Parameters

Hierarchy

Properties

Set if data editing is allowed Setting fieldType to either 'input' or 'select' will generate an element appropriate to that type. If not set, will use the dataEntryRender value.

Set if new data entry is allowed Setting fieldType to either 'input' or 'select' will generate an element appropriate to that type.

disableResizing?: boolean

If set to true, the column will not be resizable

key?: string

The identifier for the column. (Default: propertyName)

label?: string

Column's header label

onAddTransformer?: ((value, data) => unknown)

Type declaration

    • (value, data): unknown
    • Performs a transformation on the value before being added to the list

      Parameters

      • value: unknown
      • data: T

      Returns unknown

propertyName: keyof T

The name of the property on the Data object that should be rendered in that column.

render?: ColumnRenderer<T>

A custom render function that will be called for every row(except data entry row) that should be rendered. The DynamicDataList will already try to render the data in a meaningful way, but in some advanced use cases more control is required.

size?: string

The width of the column as CSS size (default: 1fr)

tooltip?: boolean

If set to false, will not render a tooltip for the column data (default: undefined) If a custom renderer is used that will not return a value cast-able to a string, you should consider setting this property to false and add a title attribute on the component returned by the custom renderer.

Generated using TypeDoc