Windowed Grid Primitive
Windowed Grid Primitive
Keep very large tables and grids responsive by rendering only the cells currently on screen.
What it does
A two-dimensional windowing layer that renders visible rows and columns while preserving normal table semantics and navigation.
How it works
- 1 Identify the surfaces that genuinely need windowing — thousands of rows, or wide column sets rendered at once — and leave the rest alone. A list of forty rows is slower to window than to render.
- 2 Support rows and columns of differing sizes by estimating first and correcting once measured, and cache the measurements so scrolling back does not re-measure and jump.
- 3 Keep keyboard focus stable when the focused cell scrolls out of the window. Either keep that cell mounted or move focus deliberately to a known position; never let it fall back to the document body.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/windowed-grid-primitive