Wrapped text cells with re-measure on column resize
Columns can opt into wrapText, so long text breaks across lines inside the cell. Combined with auto row height, rows grow to fit. When a wrapped column is resized, affected rows are re-measured, because line count depends on width.
Planned. This page shows the specification from issue #183. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
10,000 rows with a wrapped 'Description' column 200px wide and autoHeight on; other columns are single-line.
Expected behavior
Wrapping produces multi-line rows. Resizing the column re-measures visible rows within the next frames, and offscreen cached heights are marked stale. Line clamp limits growth and shows an ellipsis.
Planned API surface
columns[].wrapTextcolumns[].autoHeightcolumns[].wrapHeaderonColumnResizedAcceptance criteria
- Resizing a wrapped column invalidates cached heights for all rows, but re-measures only rendered rows immediately. (pending)
- Stale offscreen rows are re-measured lazily when they enter the rendered range. (pending)
- Header wrapping grows the header row height independently of body rows. (pending)
- Line clamp shows an ellipsis and exposes the full text via the title or tooltip mechanism. (pending)