ResultSortedTableProps
ResultSortedTableProps
props are used for components that refer to a single sorted query ResultTable
, such as the ResultSortedTableView
component.
{
queryId: Id;
cellId?: Id;
descending?: boolean;
offset?: number;
limit?: number;
queries?: QueriesOrQueriesId;
resultRowComponent?: ComponentType<ResultRowProps>;
getResultRowComponentProps?: (rowId: Id) => ExtraProps;
separator?: ReactElement | string;
debugIds?: boolean;
}
Type | Description | |
---|---|---|
queryId | Id | The |
cellId? | Id | The |
descending? | boolean | Whether the sorting should be in descending order. |
offset? | number | |
limit? | number | |
queries? | QueriesOrQueriesId | The |
resultRowComponent? | ComponentType<ResultRowProps> | A custom component for rendering each |
getResultRowComponentProps? | (rowId: Id) => ExtraProps | A function for generating extra props for each custom |
separator? | ReactElement | string | A component or string to separate each |
debugIds? | boolean | Whether the component should also render the |
Since
v2.0.0