Sticky responsive data-table
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”DataTableColumnDefgains a top-levelsticky?: 'left' | 'right'flag — coherent withlabel/sortable/filterable, NOT insidemeta. Marked columns getposition: stickywith cumulative offsets computed from preceding sticky columns on the same edge.- The component switches to
table-layout: fixedwithwidth: 100%and a computedmin-widthsumming the rigid + elastic minimums. Rigid columns (sizeonly) lock; elastic columns (size+minSize) absorb the remaining space. - Default truncation on elastic
<td>viaoverflow: hidden/text-overflow: ellipsis/white-space: nowrap, with a native[attr.title]tooltip carrying the resolved text. Custom cells can override. - Sticky offsets recalculate when column visibility changes (toggle).
Why it matters
Section titled “Why it matters”Three pains disappeared on narrow viewports and during pagination: (1) actions and select no longer scroll with the body, (2) horizontal scroll moves only data columns, and (3) the table width stops jittering between pages because auto no longer remeasures every cell. The fix is shared in <au-data-table> so consumers do not redo the math per list.