Skip to main content

table_getIsSomeColumnsPinned

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

function table_getIsSomeColumnsPinned<TFeatures, TData>(table, position?): boolean;

Defined in: features/column-pinning/columnPinningFeature.utils.ts:343

Checks whether any columns are pinned.

Omit position to check both sides, or pass 'start'/'end' to inspect a single pinning region.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

position?

ColumnPinningPosition

Returns

boolean

Example

const hasPinnedColumns = table_getIsSomeColumnsPinned(table)