Table

A data table for rendering rows and columns, with virtualized scrolling and row grouping built on TanStack Table.

Installation

import { Table } from "@o/pipeline/experimental/components/table";

Default

CompanyStatusOwner
Acme Inc.ActiveJoe Bell
Globex Corp.TrialAda Lovelace
Soylent Co.InactiveGrace Hopper

Note

Full documentation for this component is in progress.

Controlled groups and row details

GroupedDataTable groups accept open and onOpenChange when the caller owns disclosure, including fetching data only after expansion. Give each group a stable id. A group can provide a footer for preview controls. Closed groups mount neither their footer nor row details.

Use getRowDetails(row) for full-width content below a data row. Each detail supplies a stable id, estimatedHeight and render callback. Details are windowed independently, measured as their content changes, and keep the owning stage header visible while scrolling. Omit the callback when details are hidden so their subscriptions unmount.