Skip to main content

table_getSelectedRowIds

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

function table_getSelectedRowIds<TFeatures, TData>(table): string[];

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

Returns the ids of all selected rows.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

string[]

Example

const selectedRowIds = table_getSelectedRowIds(table)