@kanunilabs/datagrid-react / SelectionDescriptor
Interface: SelectionDescriptor
The selection without materializing it.
allMatching is the deferred form: "everything the current filter matches,
minus keys". It is what makes select-all on a million rows cost nothing —
and what a server-side "delete everything I selected" should actually be
sent, instead of a million ids in a request body.
Properties
allMatching
allMatching:
boolean
keys
keys:
RowKey[]
Included rows when allMatching is false; EXCLUDED rows when it is true.