Skip to content

[Grid] Fix Runtime Buffer Updates Breaking Row/Cell Pooling #9165

@tobiu

Description

@tobiu

Runtime changes to bufferRowRange and bufferColumnRange currently break the grid rendering (blank grid or missing cells).

Root Cause: The Row and Cell pooling logic (Epic #8964) initializes fixed pools based on the initial configuration.

  1. Row Buffer: Increasing bufferRowRange increases the required items count. The createRowPool logic needs to verify and expand the pool dynamically.
  2. Column Buffer: Changing bufferColumnRange recalculates cellPoolSize. Existing Neo.grid.Row instances rely on a fixed pooledCells array size initialized during their first render. They need to be forced to resize this pool to align with the new cellPoolSize.

Proposed Fix:

  • Ensure afterSetBufferRowRange triggers pool expansion in Neo.grid.Body.
  • Ensure afterSetBufferColumnRange triggers a full re-render of all rows to resize their cell pools.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions