Skip to content

Commit d275916

Browse files
committed
fix: Fix .neo-last-column CSS logic across multiple sub-grids (#9623)
In the multi-body architecture, the rightmost column locally stored within each sub-grid (Start, Center, End) was incorrectly evaluating as 'isLastColumn' and receiving the .neo-last-column class (which stripped its right border). The classification has been mapped directly to the global grid geometry, bounding the border removal rule specifically to strictly the true last column.
1 parent f099d05 commit d275916

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/grid/Row.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ class Row extends Component {
230230
}
231231

232232
if (isLastColumn) {
233-
cellCls.push('neo-last-column')
233+
if (column.locked === 'end' || (!column.locked && !gridContainer.lockedEndColumns?.length)) {
234+
cellCls.push('neo-last-column')
235+
}
234236
}
235237

236238
if (column.locked === 'start') {

0 commit comments

Comments
 (0)