HeaderRow
HeaderRow represents the model of a <tr> element in <thead>.
Usage
id: string
A constant id that uniquely identifies the header row.
current: { attrs: HeaderRowAttributes; props: HeaderRowProps }
The attributes and plugin props of the <tr> element as plain reactive values. current.attrs is ready to spread onto the element; current.props holds each plugin’s props, keyed by plugin name. Both update in place as table and plugin state change. Reads outside a template or effect return the current value, and server rendering produces the same markup.
<tr {...headerRow.current.attrs}><tr {...headerRow.current.attrs}>Information:
See also Plugin View Model Extensions. v7 removed the
attrs() and props() store methods; see Migrating to v7.cells: HeaderCell[]
An array of HeaderCells to iterate over and apply onto <th> elements.
cells only includes the cells of visible columns.