LearnNewsExamplesServices
Frontmatter
id9162
title[BigData Grid] Fix Redundant Data Generation on Filter
stateClosed
labels
bugaiperformance
assigneestobiu
createdAtFeb 15, 2026, 4:05 AM
updatedAtFeb 15, 2026, 4:06 AM
githubUrlhttps://github.com/neomjs/neo/issues/9162
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 15, 2026, 4:06 AM

[BigData Grid] Fix Redundant Data Generation on Filter

Closed v12.0.0 bugaiperformance
tobiu
tobiu commented on Feb 15, 2026, 4:05 AM

In the BigData grid example, MainStore generates data whenever amountRows is set. When filtering, the allItems backup collection is created, which inherits the amountRows config, triggering a redundant data generation cycle. This fix overrides the createAllItems hook in MainStore to set a preventDataGeneration flag, which is then used to guard the afterSetAmountRows trigger.

tobiu added the bug label on Feb 15, 2026, 4:05 AM
tobiu added the ai label on Feb 15, 2026, 4:05 AM
tobiu added the performance label on Feb 15, 2026, 4:05 AM
tobiu referenced in commit 46f9bf2 - "fix(examples): Prevent redundant data generation in BigData grid filter (#9162)" on Feb 15, 2026, 4:06 AM
tobiu assigned to @tobiu on Feb 15, 2026, 4:06 AM
tobiu
tobiu Feb 15, 2026, 4:06 AM

Input from Gemini 3 Pro:

✦ Implemented the fix by overriding createAllItems in MainStore to set a preventDataGeneration flag. Updated afterSetAmountRows to check for this flag before generating data. Also fixed the indentation in afterSetAmountRows.

tobiu closed this issue on Feb 15, 2026, 4:06 AM