UseTablePaginationConfig
Home > @backstage/ui
> UseTablePaginationConfig
Signature:
export interface UseTablePaginationConfig
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
number |
(Optional) Default offset for uncontrolled mode | ||
number |
(Optional) Default page size for uncontrolled mode | ||
number |
(Optional) Current offset. When provided, pagination is controlled | ||
() => void |
(Optional) Callback when next page is clicked | ||
(offset: number) => void |
(Optional) Callback when offset changes | ||
(pageSize: number) => void |
(Optional) Callback when page size changes | ||
() => void |
(Optional) Callback when previous page is clicked | ||
number |
(Optional) Current page size. When provided, pagination is controlled | ||
number |
(Optional) Total number of rows in the dataset - only needed when data is not provided at the top level | ||
boolean |
(Optional) Whether to show page size options |