Skip to content

Manage table pagination #1200

@ffffffelix

Description

@ffffffelix

Context / Problem to solve / Design

The table should support pagination. We assume the table will not receive the whole dataset and will not handle pagination internally.

Therefore, pagination will only display data.

Since pagination can be used outside (the table data (e.g., thumbnails), we need a dedicated component for it).

Tasks

  • Add a feature flag enablePagination to show the pagination of the table

  • When enablePagination: true, we allow props to manage pagination.

    • itemsPerPage
    • itemsPerPageOptions
    • currentPage
    • totalPages
    • onPageChange
    • onItemsPerPageChange
  • Create a Pagination Component so we can use it in different places ( for now in the DataTable )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions