ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface ColumnMeta<TData, TValue>

    Configuration metadata for table columns. Used to customize column behavior and appearance.

    const columnMeta: ColumnMeta = {
    filterVariant: "range",
    uniqueValues: ["ACS", "Technical", "USP"],
    rangeValues: [0, 1000],
    style: { width: "200px" }
    };
    interface ColumnMeta<TData = unknown, TValue = unknown> {
        filterVariant?: "text" | "select" | "range";
        uniqueValues?: string[];
        rangeValues?: number[];
        style?: CSSProperties;
    }

    Type Parameters

    • TData = unknown
    • TValue = unknown
    Index

    Properties

    filterVariant?: "text" | "select" | "range"

    Type of filter to use for this column

    uniqueValues?: string[]

    List of all possible unique values for select filters

    rangeValues?: number[]

    Minimum and maximum values for range filters

    Custom CSS styles to apply to the column