Skip to content

feat: add column-aware row overscan helper - #181

Merged
kseniya57 merged 1 commit into
mainfrom
feat/column-aware-row-overscan
Oct 13, 2026
Merged

kseniya57 merged 1 commit into
mainfrom
feat/column-aware-row-overscan

Conversation

@kseniya57

Copy link
Copy Markdown
Contributor

Wide tables render more cells for every overscanned row, so a fixed row buffer can create unnecessary work. This change extracts Tracker’s column-aware overscan calculation into a public getColumnAwareRowOverscan helper.

The helper calculates the base row overscan from a configurable cell budget and column count. Defaults are a 240-cell budget and a range of 4–24 rows. It also accepts a rendered-column limit for tables with horizontal virtualization.

The helper works with both row virtualizer hooks. Existing defaults remain unchanged, and consumers can still set a fixed numeric overscan. Both READMEs and the adaptive virtualization stories now include usage examples.

@kseniya57 kseniya57 self-assigned this Oct 12, 2026
@kseniya57
kseniya57 requested a review from beliarh as a code owner October 12, 2026 05:19
@gravity-ui-bot

Copy link
Copy Markdown
Contributor

Preview is ready.

@kseniya57
kseniya57 merged commit 9ca6a66 into main Oct 13, 2026
6 checks passed
@kseniya57
kseniya57 deleted the feat/column-aware-row-overscan branch October 13, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants