Skip to content

Table: server-driven pagination #5472

Open

Description

@humbertovirtudes

Part of the Table feature suite tracker #3639.

Feature area: Rendering & performance / data source

Problem

Astryx core Table only has offset-based useTablePagination, which paginates a client-held data array. The EPS table has server-driven pagination (EPS useEPSTableServerPagination): the table renders only the current page's rows while the server owns total count, page size, and page fetching.

Scope

  • A useTableServerPagination plugin (or mode) where the consumer supplies {pageIndex, pageSize, totalCount, onPageChange} and the table renders the given page slice without holding the full dataset.
  • Loading state during page fetch (composes with the loading-state work Table: loading state plugin #3964).
  • Decide plugin vs. mode of useTablePagination (API arbitration here).

Surfaced from the EPS -> Astryx plugin audit: EPS has Cursor / Server / Relay pagination variants; Astryx only has basic offset paging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions