Axinom Mosaic Libraries
    Preparing search index...

    Interface DDLBaseColumn<T>

    interface DDLBaseColumn<T extends Data> {
        dataEditRender?: DynamicListDataEntryRenderer;
        dataEntryRender?: DynamicListDataEntryRenderer;
        disableResizing?: boolean;
        label?: string;
        onAddTransformer?: (value: unknown, data: T) => unknown;
        size?: string;
        tooltip?: boolean;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    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

    label?: string

    Column's header label

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

    Performs a transformation on the value before being added to the list

    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.