Skip to content

Fix Grid Cell Selection for Pooled Cells #8998

@tobiu

Description

@tobiu

The implementation of Hybrid Cell Pooling (#8992) broke cell-based selection models because Neo.grid.Body#getCellId returns transient "pooled" IDs (e.g., ...__cell-4) instead of stable "logical" IDs (e.g., ...__firstname). CellModel relies on stable IDs for state persistence and navigation.

Tasks:

  1. Update Neo.grid.Body#getCellId to always return the logical ID (rowId__dataField).
  2. Update Neo.grid.Body#getDataField to correctly resolve dataField from pooled cell IDs using mountedColumns.
  3. Update Neo.grid.Row#applyRendererOutput to use the logical ID for selection state checks (selectedCells.includes(logicalId)), while preserving the pooled ID for the DOM attribute.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions