apex-grid
    Preparing search index...

    Interface PaginationConfiguration

    Pagination configuration for the grid.

    interface PaginationConfiguration {
        enabled?: boolean;
        mode?: PaginationMode;
        page?: number;
        pageSize?: number;
        pageSizeOptions?: number[];
        totalItems?: number;
    }
    Index

    Properties

    enabled?: boolean

    Whether pagination is enabled.

    When false, the grid renders no paginator and applies no slicing — the full ApexGrid.dataView is virtualized as usual.

    The pagination mode. Defaults to 'local'.

    page?: number

    The current page (zero-based). Defaults to 0.

    pageSize?: number

    The number of records per page. Defaults to 25.

    pageSizeOptions?: number[]

    The list of page sizes offered in the paginator's page-size dropdown. Defaults to [10, 25, 50, 100].

    totalItems?: number

    In 'remote' mode the consumer must supply the unfiltered row total so the paginator can compute the page count. Ignored in 'local' mode.