Skip to content

Home > @liquidrazor/list-display > ListSnapshot

ListSnapshot interface

Exported snapshot of the list, meant to be consumed by the parent only on demand (not continuously controlled).

Signature:

typescript
export interface ListSnapshot<TRow = any, TRowId = RowId>

Properties

Property

Modifiers

Type

Description

filters

ActiveFilterState

pagination

PaginationState

rowsAll

TRow[]

All rows currently known by the list (after data source + local mutations).

rowsVisible

TRow[]

Rows currently visible (after filters, sort, pagination).

selection

SelectionState<TRowId>

sort?

SortDescriptor<TRow>

(Optional)