function table_getLeafHeaders<TFeatures, TData>(table): Header<TFeatures, TData, unknown>[];Defined in: core/headers/coreHeadersFeature.utils.ts:187
Collects only the leaf headers from the current header tree.
Parent/group headers are skipped, making the result suitable for rendering one header per visible leaf column.
TFeatures extends TableFeatures
TData extends RowData
Table_Internal\<`TFeatures`, `TData`\>
Header\<`TFeatures`, `TData`, `unknown`\>[]
const leafHeaders = table_getLeafHeaders(table)