antd-crud-table API
    Preparing search index...

    Interface CrudTableState<T>

    Everything the hook tracks about the current view of the data.

    interface CrudTableState<T> {
        data: readonly T[];
        error: Error | null;
        loading: boolean;
        page: number;
        pageSize: number;
        total: number;
    }

    Type Parameters

    • T
    Index
    data: readonly T[]

    Records from the last read. Empty until refresh has run.

    error: Error | null

    The most recent failure, cleared when a read succeeds.

    loading: boolean

    Whether a read or write is in flight.

    page: number

    Current 1-based page.

    pageSize: number

    Current rows per page.

    total: number

    Records matching the filters, across all pages.