1771 Technologies Logo

Components

MeasuresManagerProps<T>

The properties for the Measures Manager component of Graphite Grid.

Type parameters

Type parameterDescription
TThe type of data being managed by the Graphite Grid.

Properties

  • Name
    className?
    Type
    string
    Description

    The CSS class to apply to the Measures Manager container.

  • Name
    contentRenderer?
    Type
    (props: object) => ReactNode
    Description

    Custom renderer for the content of each measure.

  • Name
    deleteIcon?
    Type
    () => ReactNode
    Description

    The icon to display for deleting a measure.

  • Name
    getMeasuresForColumn?
    Type
    (params: object) => (null | BuiltInFunctions | ColumnMeasure<T>)[]
    Description

    A function that returns the measures that may be applied to a column.

  • Name
    measureButtonClassName?
    Type
    string
    Description

    The CSS class to apply to the measure button.

  • Name
    measureButtonStyle?
    Type
    CSSProperties
    Description

    The CSS styles to apply to the measure button.

  • Name
    optionClassName?
    Type
    string
    Description

    The CSS class to apply to individual measure options.

  • Name
    optionContainerClassName?
    Type
    string
    Description

    The CSS class to apply to the container of measure options.

  • Name
    optionContainerStyle?
    Type
    CSSProperties
    Description

    The CSS styles to apply to the container of measure options.

  • Name
    optionStyle?
    Type
    CSSProperties
    Description

    The CSS styles to apply to individual measure options.

  • Name
    orientation
    Type
    "horizontal" | "vertical"
    Description

    The orientation of the Measures Manager, either vertical or horizontal.

  • Name
    state
    Type
    GraphiteGridState<T>
    Description

    The state of the Graphite Grid that the Measures Manager should operate on.

  • Name
    style?
    Type
    CSSProperties
    Description

    The CSS styles to apply to the Measures Manager container.