-
-
Notifications
You must be signed in to change notification settings - Fork 202
[BigData Grid] Fix Redundant Data Generation on Filter #9162
Copy link
Copy link
Closed
Labels
aibugSomething isn't workingSomething isn't workingperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aibugSomething isn't workingSomething isn't workingperformancePerformance improvements and optimizationsPerformance improvements and optimizations