Interface Row<D>

Type Parameters

  • D extends object = {}

Hierarchy

Properties

allCells: Cell<D, any>[]
canExpand: boolean
cells: Cell<D, any>[]
depth: number
getRowProps: ((propGetter?: RowPropGetter<D>) => TableRowProps)

Type declaration

getToggleRowExpandedProps: ((props?: Partial<TableExpandedToggleProps>) => TableExpandedToggleProps)

Type declaration

    • (props?: Partial<TableExpandedToggleProps>): TableExpandedToggleProps
    • Parameters

      • Optional props: Partial<TableExpandedToggleProps>

      Returns TableExpandedToggleProps

getToggleRowSelectedProps: ((props?: Partial<TableToggleRowsSelectedProps>) => TableToggleRowsSelectedProps)

Type declaration

groupByID: IdType<D>
groupByVal: string
id: string
index: number
isExpanded: boolean
isGrouped: boolean
isSelected: boolean
isSomeSelected: boolean
leafRows: Row<D>[]
original: D
setState: ((updater: unknown) => void)

Type declaration

    • (updater: unknown): void
    • Parameters

      • updater: unknown

      Returns void

state: UseRowStateLocalState<D, unknown>
subRows: Row<D>[]
toggleRowExpanded: ((value?: boolean) => void)

Type declaration

    • (value?: boolean): void
    • Parameters

      • Optional value: boolean

      Returns void

toggleRowSelected: ((set?: boolean) => void)

Type declaration

    • (set?: boolean): void
    • Parameters

      • Optional set: boolean

      Returns void

values: Record<IdType<D>, any>

Generated using TypeDoc