Skip to content

HeaderLabelSlotProps

Since v1.9.0

Slot context for #headerLabel slot in TbwGridColumn. Lets the consumer customize the header label content; the grid keeps ownership of sort icons, filter buttons, and resize handles.

<TbwGridColumn field="price">
<template #headerLabel="{ value }">
<span>{{ value }} <small>(USD)</small></span>
</template>
</TbwGridColumn>
PropertyTypeDescription
columnColumnConfig<TRow>Column configuration reference.
valuestringThe header text (from column.header or column.field).
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt