Row<D>
Extends
UseTableRowProps
<D
>.UseExpandedRowProps
<D
>.UseGroupByRowProps
<D
>.UseRowSelectRowProps
<D
>.UseRowStateRowProps
<D
>
Type Parameters
Type Parameter | Default type |
---|---|
D extends object | object |
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
Parameter | Type |
---|---|
propGetter ? | RowPropGetter <D > |
Returns
TableRowProps
Inherited from
UseTableRowProps.getRowProps
getToggleRowExpandedProps()
getToggleRowExpandedProps: (props?) => TableExpandedToggleProps;
Parameters
Parameter | Type |
---|---|
props ? | Partial <TableExpandedToggleProps > |
Returns
TableExpandedToggleProps
getToggleRowSelectedProps()
getToggleRowSelectedProps: (props?) => TableToggleRowsSelectedProps;
Parameters
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
updater | unknown |
Returns
void
state
state: UseRowStateLocalState<D, unknown>;
subRows
subRows: Row<D>[];
Inherited from
UseTableRowProps.subRows
toggleRowExpanded()
toggleRowExpanded: (value?) => void;
Parameters
Parameter | Type |
---|---|
value ? | boolean |
Returns
void
toggleRowSelected()
toggleRowSelected: (set?) => void;
Parameters
Parameter | Type |
---|---|
set ? | boolean |
Returns
void
values
values: Record<IdType<D>, any>;
Inherited from
UseTableRowProps.values