Frontmatter
| id | 9865 |
| title | Multi-Body: Centralize Selection Model Orchestration in GridContainer |
| state | Open |
| labels | enhancementepicairefactoringgrid |
| assignees | tobiu |
| createdAt | Apr 10, 2026, 1:30 PM |
| updatedAt | Apr 10, 2026, 2:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9865 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
Multi-Body: Centralize Selection Model Orchestration in GridContainer
Openenhancementepicairefactoringgrid
The Problem
Currently, updating the
selectionModeldynamically in a Multi-Body Grid setup requires manual boilerplate inside App Controllers (likeDevIndex'sMainContainerController), as consumers have to manually query and syncbodyStartandbodyEndalongsidebody. This violates separation of concerns and leads to fragile implementations where locked columns lose their Selection Models.The Solution
We will elevate the
selectionModelconfiguration toNeo.grid.Container. The Container will act as the orchestrator:selectionModel_as a reactive config.GridContainer.afterSetSelectionModel(value)will automatically clone and distribute the configuration tobody,bodyStart, andbodyEnd.createOrUpdateSubGrids, the Container will ensure they natively inherit the activeselectionModel.By removing this burden from the consumer, we restore the abstraction that a Multi-Body Grid behaves as a single logical entity.