SortedTableProps
SortedTableProps
props are used for components that refer to a single sorted Table
in a Store
, such as the SortedTableView
component.
{
tableId: Id;
cellId?: Id;
descending?: boolean;
offset?: number;
limit?: number;
store?: StoreOrStoreId;
rowComponent?: ComponentType<RowProps>;
getRowComponentProps?: (rowId: Id) => ExtraProps;
customCellIds?: Ids;
separator?: ReactElement | string;
debugIds?: boolean;
}
Type | Description | |
---|---|---|
tableId | Id | |
cellId? | Id | The |
descending? | boolean | Whether the sorting should be in descending order. |
offset? | number | |
limit? | number | |
store? | StoreOrStoreId | The |
rowComponent? | ComponentType<RowProps> | A custom component for rendering each |
getRowComponentProps? | (rowId: Id) => ExtraProps | A function for generating extra props for each custom |
customCellIds? | Ids | An optional list of |
separator? | ReactElement | string | A component or string to separate each |
debugIds? | boolean | Whether the component should also render the |
Since
v2.0.0