View as Markdown

API reference

@salmonui/data-grid/engine/infinite

24 exported symbols: 4 functions, 2 classes, 6 interfaces, 10 types and 2 constants. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/data-grid/engine/infinite';

Functions

  • createInfiniteScrollModuleInfinite scroll for remote sources: the grid requests row ranges (DataSourceRequest.range) as the viewport approaches rows that are not loaded; see the module…
  • lazyGroupsToAppendGroup row ids (g: ids) whose next chunk should load for the rendered rows [start, end) of view: expanded lazy groups with hasMore, not loading and not failed,…
  • loadingRowIndexPlaceholder row index of a loading:<n> id, or -1.
  • resolveInfiniteOptions

Classes

  • InfiniteStoreLoaded blocks of the current query. blocks and pending are replaced on every change (a view keeps the maps it was built from); index maps the ids of loaded row…
  • InfiniteViewRow model view over the loaded blocks: loaded rows are data, the others loading placeholders.

Interfaces

Types

Constants