mithril-materialized
    Preparing search index...

    Interface CellRendererAttrs<T>

    Attributes for custom cell renderer components in DataTable

    interface CellRendererAttrs<T = Record<string, any>> {
        column: DataTableColumn<T>;
        index: number;
        row: T;
        value: any;
    }

    Type Parameters

    • T = Record<string, any>

      The type of the data object for each row

    Index

    Properties

    Properties

    The column configuration object

    index: number

    The row index in the processed data

    row: T

    The complete row data object

    value: any

    The processed value from the data object for this cell