1771 Technologies Logo

Grid API

RowDetailApi<T>

Methods for managing detail rows within Graphite Grid.

Type parameters

Type parameter
T

Properties

  • Name
    closeRowDetail
    Type
    (rowOrRowId: string | RowNode<T>) => void
    Description

    Closes the detail view for a specific row.

  • Name
    doesRowSupportDetailExpansion
    Type
    (rowOrRowId: string | RowNode<T>) => boolean
    Description

    Checks if a specific row supports detail expansion.

  • Name
    getHeightForDetailRow
    Type
    (rowOrRowId: string | RowNode<T>) => number
    Description

    Gets the height for a specific detail row.

  • Name
    getRowDetailEnabledCalculator
    Type
    () => RowDetailEnabled<T>
    Description

    Gets the current row detail enabled calculator function.

  • Name
    getRowDetailExpansions
    Type
    () => Set<string>
    Description

    Gets the current row detail expansions.

  • Name
    getRowDetailHeightCalculator
    Type
    () => RowDetailHeight<T>
    Description

    Gets the current row detail height calculator function.

  • Name
    isRowDetailExpanded
    Type
    (rowOrRowId: string | RowNode<T>) => boolean
    Description

    Checks if a specific row detail is expanded.

  • Name
    openRowDetail
    Type
    (rowOrRowId: string | RowNode<T>) => void
    Description

    Opens the detail view for a specific row.

  • Name
    setRowDetailEnabledCalculator
    Type
    (calculator: RowDetailEnabled<T>) => void
    Description

    Sets the row detail enabled calculator function.

  • Name
    setRowDetailExpansions
    Type
    (expansions: Set<string>) => void
    Description

    Sets the current row detail expansions.

  • Name
    setRowDetailHeightCalculator
    Type
    (calculator: RowDetailHeight<T>) => void
    Description

    Sets the row detail height calculator function.

  • Name
    toggleRowDetail
    Type
    (rowOrRowId: string | RowNode<T>) => void
    Description

    Toggles the expansion state of a row detail.