本页还没有译文
本页 20 段还没译成Deutsch,下面显示的是英文原文。header_getContext
还没翻译译自英文(tanstack.com)本页 20 段都还没译
function header_getContext<TFeatures, TData, TValue>(header): object;Defined in: core/headers/coreHeadersFeature.utils.ts:57
Builds the render context passed to a column's header or footer template.
The context contains the header, its column, and the owning table instance.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue
Parameters
header
Header<TFeatures, TData, TValue>
Returns
object
column
column: Column<TFeatures, TData, TValue> = header.column;header
header: Header<TFeatures, TData, TValue>;table
table: Table_Internal<TFeatures, TData> = header.column.table;Example
const context = header_getContext(header)AI 翻译查看英文原文