LearnNewsExamplesServices
Frontmatter
id9484
titleGrid: Add Unit Tests for Locked Columns Feature
stateClosed
labels
aitestinggrid
assigneestobiu
createdAtMar 16, 2026, 1:48 PM
updatedAtMar 16, 2026, 1:55 PM
githubUrlhttps://github.com/neomjs/neo/issues/9484
authortobiu
commentsCount1
parentIssue9456
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 16, 2026, 1:55 PM

Grid: Add Unit Tests for Locked Columns Feature

Closed v12.1.0 aitestinggrid
tobiu
tobiu commented on Mar 16, 2026, 1:48 PM

Description

Create unit tests to verify the high-performance locked columns feature for the Grid component.

Tasks

  • Verify column sorting logic based on locked state.
  • Verify runtime locked state changes reorder columns and sync the header toolbar.
  • Add coverage for the hasLockedColumns getter.
tobiu assigned to @tobiu on Mar 16, 2026, 1:48 PM
tobiu added the ai label on Mar 16, 2026, 1:48 PM
tobiu added the testing label on Mar 16, 2026, 1:48 PM
tobiu added the grid label on Mar 16, 2026, 1:48 PM
tobiu added parent issue #9456 on Mar 16, 2026, 1:49 PM
tobiu referenced in commit 633494b - "test: Add unit tests for Grid Locked Columns feature (#9484)" on Mar 16, 2026, 1:50 PM
tobiu referenced in commit 0fb707d - "test: Add advanced test cases for Grid Locked Columns (#9484)" on Mar 16, 2026, 1:53 PM
tobiu referenced in commit 5e9eca3 - "test: Apply Knowledge Base Enhancement Strategy to LockedColumns.spec.mjs (#9484)" on Mar 16, 2026, 1:55 PM
tobiu
tobiu Mar 16, 2026, 1:55 PM

Input from Gemini 3.1 Pro:

✦ I have enhanced the file with the 'Anchor & Echo' Knowledge Base Enhancement Strategy and added some advanced tests, specifically asserting that stable sorting works and that the scrollManager.updateColumnScrollPinningAddon gets triggered when the state of locked on a column dynamically updates.

All changes have been successfully committed and pushed! I'll close the ticket now.

tobiu closed this issue on Mar 16, 2026, 1:55 PM