Data Table

new

Excel called, it wants its features back. A table with sorting, sticky parts, pinned columns and rows, selection, trees, grouping, pagination, infinite scroll and row virtualization.

Data table
successken99@example.com$316.00
successabe45@example.com$242.00
processingmonserrat44@example.com$837.00
successsilas22@example.com$874.00
failedcarmella@example.com$721.00

Open Props in the corner of the example to try size and loading.

Installation

Usage

<script setup lang="ts">
import { createDataTableColumnHelper, DataTable } from '@/components/ui/data-table'

type Payment = { id: string; email: string; amount: number }

const helper = createDataTableColumnHelper<Payment>()
const columns = helper.columns([
  helper.accessor('email', { header: 'Email' }),
  helper.accessor('amount', { header: 'Amount', size: 120, meta: { align: 'end' } }),
])
</script>

<template>
  <DataTable :data="payments" :columns="columns" :get-row-id="(row) => row.id" sortable />
</template>

It runs on TanStack Table v9, which is why it installs @tanstack/vue-table. Build columns with createDataTableColumnHelper: it keeps columns, slots and state fully typed.

It's fast by design: cells are plain elements with Table's classes, not a component each. A thousand cells are a thousand elements, not a thousand component instances. Borders, --table-row-bg and the pinned-column shadow work just like in Table.

Examples

Columns and slots

A column's header, cell and footer can be a string, a function or a component. To take over in the template, use a slot: cell-<id>, header-<id> or footer-<id>. It gets the TanStack context: getValue, row, column and table.

Column meta takes:

  • align: start, center or end
  • truncate: cuts long text with an ellipsis (needs a fixed layout)
  • class, style: for the th and td, as a value or a function of the context; footer cells take the td ones (a style function is left out there, since a footer has no row)

The toolbar slot renders above the table, outside the scroll.

Column slots and a toolbar
TaskOwnerPriorityNotes
Ship the data tableAdahighSorting, pinning, selection and virtualization are in; column resizing is next.
Write the docs pageGracemediumCover the slots and the state models.
Record the screencastLinuslowTwo minutes, no narration.
Review the a11y passKatherinehigharia-rowcount with virtualization, the focused row stays mounted, scroll padding under the header.

Sorting

sortable gives every sortable column a header button that cycles ascending -> descending -> off. Shift-click adds a column to the sort.

  • { multi: false }: one column at a time
  • { removable: false }: no "off" step
  • enableSorting: false on a column: leave it out

v-model:sorting holds [{ id, desc }].

sortFn and filterFn take your own function, auto to pick one by the column's values, or the name of a built-in:

  • sorting: alphanumeric, alphanumericCaseSensitive, text, textCaseSensitive, datetime, basic
  • filtering: includesString, includesStringSensitive, equalsString, equals, weakEquals, inNumberRange, inDateRange, arrIncludes, arrIncludesAll, arrIncludesSome

Need another TanStack built-in? Register it in dataTableFeatures in your copy.

Height, sticky parts and virtualization

height puts the table in a ScrollArea. The sticky header, the footer and pinned columns all share that one scroller. sticky sticks the header, the footer or both.

virtualize renders only the rows near the view: true always, "auto" from 200 rows, or an object with options. Rows keep a fixed height set by size. For rows of different heights, add measure: true.

It stays a real table, so colspan, sticky parts and screen reader row counts keep working.

Virtualized data table
1AAPLsell100100.00
2MSFTbuy137109.11
3NVDAbuy174118.22
4AMZNsell211127.33
5GOOGbuy248136.44
6METAbuy285145.55
7TSLAsell322154.66
8AVGObuy359163.77
9AAPLbuy396172.88
10MSFTsell433181.99
11NVDAbuy470191.10
12AMZNbuy507200.21
13GOOGsell544209.32
14METAbuy581218.43
15TSLAbuy618227.54
16AVGOsell655236.65
17AAPLbuy692245.76
18MSFTbuy729254.87
19NVDAsell766263.98
20AMZNbuy803273.09

Click a row.

Pinned columns

v-model:column-pinning takes { start: [...ids], end: [...ids] }.

Give pinned columns a size, since their offsets are computed from the widths. If every column has a size and the table is wider than their sum, an extra filler column takes the rest. The outermost pinned column casts a shadow while content can scroll under it.

Pinned columns
ProductJanFebMarAprMayJunJulAugSepOctNovDecYear
Widgets5168851021191361531701872042212381734
Gadgets1021361702042382723063403744084424763468
Gizmos1532042553063574084595105616126637145202
Doohickeys204272340408476544612680748816884526036
Thingamajigs255340425510595680765850351202052905070
Whatsits306408510612714816181202223244265285004
Contraptions357476595714833521712904095286477665838
Gubbins408544680816521883244605967328681045772

Pagination

paginate splits the rows into pages and adds DataTablePagination under the table. v-model:pagination holds { pageIndex, pageSize }. When the rows change, it goes back to the first page.

Client pagination
Ada LovelaceEngineerBerlin
Grace LiskovAnalystZurich
Linus JohnsonDesignerToronto
Margaret HopperSupportTokyo
Katherine RitchieManagerOslo
Marie CurieEngineerLisbon
Alan TorvaldsAnalystBerlin
Barbara PerlmanDesignerZurich

1–8 of 45

Server mode

Data lives on the server? manual hands the work to you: all of it, or per feature with { sorting, filtering, pagination, expanding }. The table shows data as is and reports the state through the models.

  • Pass rowCount, so it knows how many pages there are. Without it, the bar shows only Previous and Next.
  • The page doesn't reset on its own here: do it yourself when filters change.
Server mode
1000Adarefunded$50
1001Barbarapaid$961
1002Katherinepaid$1872
1003Gracepending$2783
1004Dennispaid$3694
1005Mariepaid$4605
1006Linuspending$5516
1007Radiarefunded$6427
1008Alanpaid$7338
1009Margaretpending$8249

1–10 of 500

Loading, empty and error

loading shows a progress bar under the header, and the rows you have stay in place. No rows yet? Skeleton rows fill the height instead.

No rows and not loading: the empty message shows, or noResults when a filter is on.

error takes over the body: the rows, the skeleton and the empty message give way to it, and infinite scroll waits until it clears. Pass the error itself, :error="query.error.value"; the error slot gets it as { error }, and an ErrorState with a Retry button fits there. Without the slot, a string shows as the message and anything else as "Something went wrong". With loading on as well, as during a retry, the error stays and the progress bar runs.

Loading, empty and error states
InvoiceCustomerAmount
INV-1Ada Lovelace$250
INV-2Grace Hopper$150
INV-3Linus Torvalds$350

Row events

Pass onRowClick, onRowContextmenu or onRowHover (or @row-click and friends), and rows become clickable: focusable, with a pointer cursor, and they fire on Enter and Space too. Clicks on buttons and inputs inside a row don't count as row clicks.

A clickable row isn't a button for screen readers, so put the same action on a control inside the row too.

Row actions

Add a display column with a cell-<id> slot. Inside, wrap an icon button in MenuTrigger with as-child, and the Menu next to it opens from that button. row.original is right there for the items, and a click on the button isn't a row click.

Actions
Ada Lovelaceada@example.comowner
Grace Hoppergrace@example.comeditor
Linus Torvaldslinus@example.comeditor
Margaret Hamiltonmargaret@example.comviewer
Katherine Johnsonkatherine@example.comviewer
Marie Curiemarie@example.comviewer

Open a row's menu.

Selection

selection adds a checkbox column:

  • true or "multiple": many rows
  • "single": one row
  • an object, { mode, column, enableRowSelection, selectAll }: column: false hides the column, and enableRowSelection decides per row

v-model:row-selection holds { [id]: true }. Shift-click selects a range.

Need to know where a change came from? update:rowSelection gets a second argument, { source }: header, row, range or imperative.

Select all, Gmail style. With pagination, the header checkbox selects the current page, and a banner offers to select the rest. v-model:select-all goes none -> page -> all.

In all, every row on every page counts as selected, and the model stores only the exceptions, as { [id]: false }. For the request to your server, getSelection() returns { mode, ids, excluded, count }.

  • Unchecking a row in page drops back to none.
  • In server mode, a sort or filter change drops all back to none: the rows the user agreed to are gone.

selectAllLabels changes the banner text, and the select-all-banner slot replaces the banner entirely. selectAll: false turns it off. Without pagination, the header checkbox just selects every filtered row, with no banner.

Selection
NameRoleCity
Ada LovelaceEngineerBerlin
Grace LiskovAnalystZurich
Linus JohnsonDesignerToronto
Margaret HopperSupportTokyo
Katherine RitchieManagerOslo
Marie CurieEngineerLisbon
Alan TorvaldsAnalystBerlin
Barbara PerlmanDesignerZurich

1–8 of 45

0 selected

Expanding and trees

expandable adds a chevron column. Add an expanded slot, and each row opens a detail row under it. Hover and selection tint both together. With virtualization, measure turns on by itself.

v-model:expanded holds { [id]: true }, or true for every row. table.toggleAllRowsExpanded() toggles them all, and getRowCanExpand decides per row.

Expanding
OrderCustomerPlacedTotal
1041Ada Lovelace2026-09-12$184
1042Grace Hopper2026-09-13$640
1043Linus Torvalds2026-09-14$58
1044Margaret Hamilton2026-09-15$1299

For a tree, pass getSubRows: children render as regular rows, indented by depth. They paginate with the rest; paginateExpandedRows: false keeps them on their parent's page.

Tree
NameKindSize
srcfolder24.7 KB
uifolder24.0 KB
libfolder310 B
main.tsfile480 B
docsfolder7.7 KB
package.jsonfile890 B

Grouping

groupable with v-model:grouping groups rows by column ids, in order. Grouped columns move to the front.

A group row shows a toggle, the value and the row count. Other columns show their aggregatedCell, computed by the column's aggregationFn: sum, min, max, extent, mean, median, unique, uniqueCount, count, first, last, or your own function.

Groups open and close through the expanded model, like tree rows.

Grouping
Travel(6)2 vendors$2580
Software(6)2 vendors$2466
Office(6)2 vendors$3252
Meals(6)2 vendors$3138

Pinned rows

v-model:row-pinning takes { top: [...ids], bottom: [...ids] }. Pinned rows stick under the header and above the footer, never get virtualized away, and stay even when a filter hides them. From a cell, row.pin('top'), row.pin('bottom') and row.pin(false) toggle them.

Pinned rows
7AlanLisbon Run45:20
1AdaBerlin RC40:00
2GraceLisbon Run41:00
3LinusOslo Track42:00
4MargaretToronto Pace43:00
5KatherineTokyo Striders43:20
6MarieBerlin RC44:20
8BarbaraOslo Track45:40
9DennisToronto Pace46:40
10RadiaTokyo Striders47:40
11AdaBerlin RC48:00
12GraceLisbon Run49:00
13LinusOslo Track50:00
14MargaretToronto Pace50:20
15KatherineTokyo Striders51:20
16MarieBerlin RC52:20
17AlanLisbon Run52:40
18BarbaraOslo Track53:40
19DennisToronto Pace54:40
20RadiaTokyo Striders55:00
21AdaBerlin RC56:00
22GraceLisbon Run57:00
23LinusOslo Track57:20
24MargaretToronto Pace58:20
25KatherineTokyo Striders59:20
26MarieBerlin RC59:40
27AlanLisbon Run60:40
28BarbaraOslo Track61:40
29DennisToronto Pace62:00
30RadiaTokyo Striders63:00
31AdaBerlin RC64:00
32GraceLisbon Run64:20
33LinusOslo Track65:20
34MargaretToronto Pace66:20
35KatherineTokyo Striders66:40
36MarieBerlin RC67:40
37AlanLisbon Run68:40
38BarbaraOslo Track69:00
39DennisToronto Pace70:00
40RadiaTokyo Striders71:00

Infinite scroll

Doomscrolling, table edition. onLoadMore (or @load-more) loads more rows as you near an edge. It gets { direction, index }, with index starting at 1, and should resolve once the new rows are in data.

Out of rows? Resolve 'stop'. To pause and resume, use hasMore: false, or { top, bottom } per edge.

loadMore options:

  • direction: bottom, top or both
  • threshold: how close to the edge to start loading; rows with virtualization (the overscan by default), pixels without it (200 by default)
  • initialFill: keep loading until the table overflows

Loading at the top keeps your reading position. The loadingMore slot shows at the loading edge (a spinner by default), and endOfData shows once there's nothing left. In server mode, a sort or filter change restarts index at 1.

It watches the table's own scroll area, or the nearest scrolling parent, or the window, and runs on useInfiniteScroll. Don't combine it with server-side pagination: the table warns in development.

Infinite scroll
#TimeLevelMessage
109:00errorDeploy finished
209:01infoCache warmed
309:02infoSlow query
409:03infoRetrying webhook
509:04warnDisk at 80%
609:05infoLogin failed
709:06infoDeploy finished
809:07infoCache warmed
909:08warnSlow query
1009:09infoRetrying webhook
1109:10infoDisk at 80%
1209:11errorLogin failed
1309:12warnDeploy finished
1409:13infoCache warmed
1509:14infoSlow query
1609:15infoRetrying webhook
1709:16warnDisk at 80%
1809:17infoLogin failed

State

Every TanStack state slice is a v-model: on the component: sorting, column-visibility, column-pinning, column-order, column-sizing, column-filters, global-filter, pagination, row-selection, expanded, grouping and row-pinning, plus the table's own select-all.

Don't bind a model, and the table keeps it inside. Bind it, and yours becomes the only source, even if it starts as undefined. Starting values for either go in tableOptions.initialState.

Known limits

  • Mutating data in place goes unnoticed. Pass a new array.
  • Without height, overflow="x" breaks the sticky header. For a header that sticks to the page, use overflow="visible".
  • Browsers can lay out about 16 million pixels of height. Past that, paginate on the server. The table warns in development.
  • A pinned column without a size gets 150px and a warning in development.
  • There's no maxHeight yet, so give the table a height. Column resizing is coming next.

API Reference

class goes on the root.

Data attributes

The parts carry the Table slots, table, table-header, table-row, table-head, table-cell, table-footer, table-caption and table-empty, with the same attributes, plus these:

data-slotAttributesDescription
data-tabledata-size, data-loadingThe root. Carries --table-thead-h, --table-tfoot-h, --table-pinned-top-h and --table-pinned-bottom-h, the measured heights of the sticky parts.
table-row-groupdata-index, data-state, data-parity, data-expandedOne tbody per row, the virtual item and the measured element; it carries the row's selected state, stripe parity and expanded state, so a detail row is tinted with its row.
table-expanded—The detail row inside an expanded row's group.
table-group—A grouped row, in place of table-row.
table-pinned-top—The sticky row group of the rows pinned to the top.
table-pinned-bottom—The sticky row group of the rows pinned to the bottom.
table-spacer—A row group standing in for rows outside the window; hidden from assistive technology.
table-filler—The column taking the width left over when every column has a size.
table-loading—The header row holding the progress bar while loading.
table-loading-moredata-directionThe row at an edge while more rows load; hidden from assistive technology.
table-end-of-datadata-directionThe row at an edge once it has no more rows.
table-skeleton—The body of skeleton rows while loading with no data.
table-error—The row holding the error state, in place of the rows.
data-table-column-headerdata-sortedThe sort button in a header.
data-table-select-header—The header checkbox.
data-table-select-cell—A row's checkbox.
data-table-select-all-bannerdata-modeThe banner under the toolbar while a page or every row is selected.
data-table-expand-cell—A row's chevron.
data-table-group-cell—A grouped row's toggle, value and count.
data-table-pagination—The bar under the table.

Accessibility

Screen readers hear "row 5001 of 10001" even when only a handful of rows exist in the DOM: the table has aria-rowcount, and every row has aria-rowindex.

  • A focused row stays mounted when it scrolls out of view, so focus isn't lost.
  • Focused rows never hide under the sticky header or pinned rows.
  • Checkboxes and chevrons are labelled buttons, and the select-all banner is announced.
  • Spacers and loading rows are hidden from screen readers.
  • The default error message is an alert, so it is read out when it appears.

Changelog

  1. registry 0.24.1

    35a5371 — No component styles an element through a :has() on its parent or group any more. Chrome restyles the whole subtree of every :has() anchor above a node that is added or removed, once some rule puts :has() away from the element it styles: a page wrapped in one such anchor recalculated every element for each list row it mounted. The Dialog, Drawer and Tour headers, the InputGroup and InputNumber insets, the Combobox clear button, the InputFloating notch, a FieldLabel beside a disabled checkbox or radio, the Rating ring, and the Slider and ScrollArea examples now read their neighbours with ~ or a :has() on the element itself. The InputGroup addons fade through a variable that the group sets. FileUpload, Image, Marquee and DataTable mark the state on an element instead: the hidden input's focus, an ImageError inside, keyboard focus, and the body above pinned bottom rows. scripts/has-selectors.test.ts keeps the pattern out.

    useSwipeSnap no longer flushes styles for an instant move that leaves the offset where it is, such as new points at rest.

  2. core 0.17.1

    35a5371 — No component styles an element through a :has() on its parent or group any more. Chrome restyles the whole subtree of every :has() anchor above a node that is added or removed, once some rule puts :has() away from the element it styles: a page wrapped in one such anchor recalculated every element for each list row it mounted. The Dialog, Drawer and Tour headers, the InputGroup and InputNumber insets, the Combobox clear button, the InputFloating notch, a FieldLabel beside a disabled checkbox or radio, the Rating ring, and the Slider and ScrollArea examples now read their neighbours with ~ or a :has() on the element itself. The InputGroup addons fade through a variable that the group sets. FileUpload, Image, Marquee and DataTable mark the state on an element instead: the hidden input's focus, an ImageError inside, keyboard focus, and the body above pinned bottom rows. scripts/has-selectors.test.ts keeps the pattern out.

    useSwipeSnap no longer flushes styles for an instant move that leaves the offset where it is, such as new points at rest.

  3. registry 0.22.0

    5e45209 — DataTable footer cells take the column's td style, as they already took its td class, instead of the header's th style.

    9e522da — A DataTable with onLoadMore and no height looks for its scroller above its own container, which only scrolls sideways: it no longer loads page after page on mount while the end of the page is far away.

    5e1669a — In page mode, the DataTable header checkbox on a later page selects that page, as its unchecked look promises, instead of clearing the selection made on the first page.

    adb6166 — DataTablePagination keys its page buttons by page number instead of position, so pressing Enter on a page keeps focus on that page instead of the button that slides into its place.

    778f538 — Selecting all rows of a DataTable leaves the rows enableRowSelection locks unchecked and out of the count: the banner and getSelection().count say 45 of 50 when five rows are locked, in client mode.

    62f072d — Setting a bound v-model:row-selection back to undefined clears the DataTable's checked rows instead of leaving the last selection on screen.

    a1eac85 — A server-paginated DataTable follows a rowCount that arrives or changes after mount: it shows "1–10 of 95" and pages through it instead of staying on "Page N" or dropping to "0–0 of 0" at the first page change. The page count is computed from the row count and the page size, so page changes past the last page are clamped as TanStack does for a known count.

    e04fbcd — A server-rendered DataTable carries its column widths and pinned-column offsets in its HTML, so sized columns render at their width before hydration instead of jumping into it.

    22c2911 — Table rows are 36px at sm, as the scale and the DataTable virtualizer's estimate say, not 37px; and a DataTable row with an expand or group toggle keeps its size's row height (44px at md) instead of growing by a pixel to fit the toggle. Virtualized sm tables and tree or grouped tables no longer drift when they scroll to a row.

  4. registry 0.21.0

    7858b46 — DataTable takes an error prop and slot. Any value but undefined, null and false turns it on, so :error="query.error.value" works as is; the error slot gets { error }. It shows where the empty message does, in place of the rows, the skeleton and the empty message, and pauses infinite scroll. Without the slot, a string is the message and anything else reads "Something went wrong". ui.error styles its box.

    b073de0 — New DataTree: a tree drawn from data over the Tree parts, as DataTable is over Table. It takes Tree's props, draws each row from the node's icon and label (with a checkbox in checkbox mode, or your own through the item slot), and shows loading (skeleton rows), empty and error states in its frame through loading, empty and error and their slots, error first. virtualize renders only the rows near the view. v-model and v-model:expanded survive a state.

    e5495ef — size works the same way everywhere. Every component exports its size type (AlertSize, BadgeSize, CardSize, CheckboxSize, RadioSize, SwitchSize, EmptySize, InputFloatingSize, ItemSize, ListboxSize, SeparatorSize, SliderSize, StepperSize, TabsSize, TextareaSize, TimelineSize) and the props take it without null; Button-based parts take ButtonSize, Input TextControlSize, SelectTrigger SelectSize and Tree TreeSize. ToggleGroup and ToolbarToggleGroup carry data-size on the group as well. Table's row heights moved into tableSize, so a class on DataTable's ui.table overrides --table-row-h at every size, not only at md.

    95a0fa1 — Parts follow their root's size through CSS variables instead of the context, so a class on a part wins over the size. PinInput sets --pin-input-slot, TagsInput --tags-input-line and --tags-input-delete, and PinInput, InputNumber, TagsInput and InputGroup set --control-text and --control-text-leading for the field inside (textControlText and textControlInnerText in @/ui/input). NavigationMenu's triggers and links read the --nav-* variables of the menu instead of setting their own, and DataTable's sort buttons and row toggles shrink at xs through the table's variables. PinInput's slots now sit --control-gap-* apart (2px wider at sm, lg and xl); nothing else moves. inputNumberInputVariants, tagsInputInputVariants and tagsInputItemDeleteVariants became the strings inputNumberInput, tagsInputInput and tagsInputItemDelete, inputGroupControlText is gone, and pinInputSlotVariants lost its size key.

  5. registry 0.13.0

    93e57a0 — Every size on the control scale is named xs to xl; default and the bare icon are gone. To move over:

    - Button: size="default" becomes size="md", or leave size out; size="icon" becomes size="icon-md". The full set is xs to xl and icon-xs to icon-xl. Toggle, ToggleGroup, ToggleGroupItem, the Toolbar parts, AlertDialogAction, AlertDialogCancel and ToastAction take the same names; Button, Toggle and ToggleGroup default to md, the Toolbar parts keep sm and ToastAction keeps xs. InputGroupButton keeps its own xs, sm, icon-xs and icon-sm, 24 and 32px to fit inside the group, xs by default. Pagination hands its md to Button as it is. Button, Toggle and ToggleGroupItem set data-variant, data-color and data-size even when you leave them at their defaults. - AlertDialogContent: size="default" becomes size="md", still the default; sm is unchanged. The size option of useConfirm's confirm, alert and prompt takes the same names. - Table and DataTable: density becomes size, data-density becomes data-size, and the TableDensity type is now TableSize. sm, md and lg keep their 36, 44 and 52px rows; xs (28px) and xl (60px) are new, and DataTable's virtual row estimates cover them. The cells' padding above and below the text is now --table-cell-py on the table: 8px as before, 3px at xs. At xs, DataTable's sort buttons and expand and group toggles shrink to fit the row. The table-density example is now table-sizes. - DrawerMenu: size takes xs to xl like Menu and reads the control scale, plus room for a thumb. sm, md and lg keep their 40, 48 and 56px rows, padding and icons; xs is 36px and xl 64px. Overriding a --control-* token on :root now resizes DrawerMenu rows as well. - Select and Combobox: the list opens at the trigger's or anchor's size instead of always at md, so <SelectTrigger size="xl"> opens an xl list. size on SelectContent or ComboboxList picks another. Behind an as-child button, set size on ComboboxAnchor to match the button. The Select list now sets its menu variables on SelectContent instead of its viewport, so a class such as [--menu-item-height:2.5rem] on SelectContent reaches the items. - Input, Textarea, InputFloating, SelectTrigger, ComboboxAnchor and Separator set data-size with the default filled in, and the anchor sets data-variant too. With as-child, the anchor leaves the button's own data-variant and data-size alone.

  6. registry 0.11.0

    11cf46c — DataTable no longer breaks hydration when a header, footer or cell renders an empty string (header: "" on an actions or expand column, an empty value). Such a render now outputs nothing, through the new DataTableRender, which the table uses in place of FlexRender.

  7. registry 0.8.0

    d169f4d — DataTable attaches row click, keyboard, context-menu and hover listeners only when the matching onRow* prop is set, instead of five listeners per row regardless.

  8. registry 0.5.0

    e931ebe — Add DataTable over TanStack Table v9: columns and data, per-column header and cell slots, sorting with an accessible header button, a scroll area with sticky header and footer, pinned columns with offsets from the width model, density and stripes, row events, client and manual pagination, loading and empty states, and row virtualization with one row group per row and exact spacers. Row selection with a checkbox column, shift-click ranges, a page and select-all banner and a source on update:rowSelection; expanding into detail rows and trees; grouping with aggregated cells; pinned rows in sticky row groups; infinite scroll through onLoadMore, hasMore and loadMore. The table styles gain rowGroup and pinnedRows, a sticky TableHeader and TableFooter read --table-sticky-top and --table-sticky-bottom for the offset under a fixed app bar, and useInfiniteScroll accepts a shouldLoad that returns undefined to fall back to the pixel check.