View as Markdown

API reference: @salmonui/data-grid/engine

PagingStateinterface

import type { PagingState } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/paging.

interface PagingState {
    readonly enabled: boolean;
    readonly page: number;
    readonly pageSize: number;
    readonly totalRowCount: number | null;
}
PagingState members (4)
NameSignatureDescription
enabledreadonly enabled: boolean;
pagereadonly page: number;

Requested 1-based page; the effective page is clamped to the page count.

pageSizereadonly pageSize: number;
totalRowCountreadonly totalRowCount: number | null;

PagingOptions.totalRowCount; null uses the source total.