Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / SelectionDescriptor

Interface: SelectionDescriptor

Defined in: datagrid-core/dist/index.d.ts:4314

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

Defined in: datagrid-core/dist/index.d.ts:4315


keys

keys: RowKey[]

Defined in: datagrid-core/dist/index.d.ts:4317

Included rows when allMatching is false; EXCLUDED rows when it is true.