@nospamproxy/core
    Preparing search index...
    interface RemoteListModelOptions<T> {
        activity: ActivityManager;
        beforeRefresh?: () => void;
        context: QueryContext<T>;
        errorHandler?: ListModelErrorHandler;
        fetchCount?: ListFetchCountFn<T>;
        fetchPage?: ListFetchPageFn<T>;
        odata: OData;
        pageSize?: number | null;
        processPage?: ListProcessPageFn<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    activity: ActivityManager

    The activity manager to use for error handling.

    beforeRefresh?: () => void

    Optional callback that is called before refresh.

    context: QueryContext<T>

    The query context to use for fetching data.

    errorHandler?: ListModelErrorHandler

    Optional error handler when fetching a page or count fails.

    fetchCount?: ListFetchCountFn<T>

    Function for fetching the total count of items. If "fetchPage" is specified, but this is not, the number of items and pages is not displayed.

    fetchPage?: ListFetchPageFn<T>

    Function for fetching a specific page.

    odata: OData

    The odata instance to use for fetching data.

    pageSize?: number | null

    The page size or null for no paging. Default is 50.

    processPage?: ListProcessPageFn<T>

    Optional function to process page items before using them.