-
-
Notifications
You must be signed in to change notification settings - Fork 202
Update Grid Row Cell Border Logic for Pooling #9001
Copy link
Copy link
Closed
Labels
Description
With the introduction of Hybrid Cell Pooling (#8992), the DOM order of cells (Pooled vs Permanent) no longer guarantees alignment with their visual order (column index).
Consequently, the CSS rule &:last-child on .neo-grid-cell incorrectly targets the last rendered DOM node (which might be a pooled cell in the middle of the grid, or a permanent cell rendered last) instead of the visually last column. This results in incorrect right-borders.
Solution:
- Update
Neo.grid.Rowto calculate which column is the last visible column and apply a specific CSS class (e.g.,neo-last-column) to its corresponding cell. - Update
resources/scss/src/grid/Body.scssto use.neo-last-columninstead of&:last-childfor removing the right border.
Note: This logic must account for both pooled and permanent cells.
Reactions are currently unavailable