Skip to main content

table_getIsSomePageRowsSelected

还没翻译译自英文(tanstack.com)本页 14 段都还没译

function table_getIsSomePageRowsSelected<TFeatures, TData>(table): boolean;

Defined in: features/row-selection/rowSelectionFeature.utils.ts:455

Checks whether at least one selectable row on the current page is selected.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

const somePageRowsSelected = table_getIsSomePageRowsSelected(table)