Skip to main content
Version: Next

Row<D>

Extends

  • UseTableRowProps<D>.UseExpandedRowProps<D>.UseGroupByRowProps<D>.UseRowSelectRowProps<D>.UseRowStateRowProps<D>

Type Parameters

Type ParameterDefault type
D extends objectobject

Properties

allCells

allCells: Cell<D, any>[];

Inherited from

UseTableRowProps.allCells


canExpand

canExpand: boolean;

cells

cells: Cell<D, any>[];

Inherited from

UseTableRowProps.cells


depth

depth: number;

getRowProps()

getRowProps: (propGetter?) => TableRowProps;

Parameters

ParameterType
propGetter?RowPropGetter<D>

Returns

TableRowProps

Inherited from

UseTableRowProps.getRowProps


getToggleRowExpandedProps()

getToggleRowExpandedProps: (props?) => TableExpandedToggleProps;

Parameters

ParameterType
props?Partial<TableExpandedToggleProps>

Returns

TableExpandedToggleProps


getToggleRowSelectedProps()

getToggleRowSelectedProps: (props?) => TableToggleRowsSelectedProps;

Parameters

ParameterType
props?Partial<TableToggleRowsSelectedProps>

Returns

TableToggleRowsSelectedProps


groupByID

groupByID: IdType<D>;

groupByVal

groupByVal: string;

id

id: string;

Inherited from

UseTableRowProps.id


index

index: number;

Inherited from

UseTableRowProps.index


isExpanded

isExpanded: boolean;

isGrouped

isGrouped: boolean;

isSelected

isSelected: boolean;

isSomeSelected

isSomeSelected: boolean;

leafRows

leafRows: Row<D>[];

original

original: D;

Inherited from

UseTableRowProps.original


setState()

setState: (updater) => void;

Parameters

ParameterType
updaterunknown

Returns

void


state

state: UseRowStateLocalState<D, unknown>;

subRows

subRows: Row<D>[];

Inherited from

UseTableRowProps.subRows


toggleRowExpanded()

toggleRowExpanded: (value?) => void;

Parameters

ParameterType
value?boolean

Returns

void


toggleRowSelected()

toggleRowSelected: (set?) => void;

Parameters

ParameterType
set?boolean

Returns

void


values

values: Record<IdType<D>, any>;

Inherited from

UseTableRowProps.values