@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface FilterFieldDefinition<T>

    Describes a single filterable field.

    interface FilterFieldDefinition<T = any> {
        key: keyof T & string;
        label: string;
        type: FilterFieldType;
    }

    Type Parameters

    • T = any

      The row object type so key is constrained.

    Index

    Properties

    Properties

    key: keyof T & string

    Property key on the row object.

    label: string

    Human-readable label shown in the field dropdown.

    Data type — determines which operators are available.