LearnNewsExamplesServices
Frontmatter
id9464
titleTreeGrid Big Data Demo: Implement Controls and Grid Wiring
stateClosed
labels
enhancementaigrid
assigneestobiu
createdAtMar 13, 2026, 12:07 PM
updatedAtMar 13, 2026, 12:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/9464
authortobiu
commentsCount2
parentIssue9461
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 13, 2026, 12:43 PM

TreeGrid Big Data Demo: Implement Controls and Grid Wiring

Closed v12.1.0 enhancementaigrid
tobiu
tobiu commented on Mar 13, 2026, 12:07 PM

Goal

Develop the ControlsContainer to manage the settings for the TreeGrid Big Data demo and ensure it drives the GridContainer correctly.

Implementation Steps

  1. Reuse Big Data Controls: Start by replicating the core controls from examples/grid/bigData/ControlsContainer.mjs (Amount Rows, Amount Columns, Buffer Rows/Columns, Themes, Filters).
  2. Tree-Specific Controls:
    • Add a Max Depth ComboBox (e.g., options: 2, 3, 5, 10).
    • Add Expand All and Collapse All buttons (or a single toggle button) to stress-test the TreeStore's bulk mutate event handling.
  3. Grid Wiring:
    • Update the ControlsContainer logic to interact with the new TreeGrid and TreeStore.
    • Ensure changing Amount Rows, Amount Columns, or Max Depth triggers a regeneration of the data in the MainStore.
    • Ensure the text filters (firstname, lastname) correctly apply to the TreeStore (demonstrating hierarchical filtering).
  4. Grid Dynamic Columns:
    • Implement the logic in GridContainer (via afterSetAmountColumns) to dynamically generate column configurations based on the ControlsContainer input, mirroring the flat big data demo but with the first column being a grid-column-tree.
tobiu added the enhancement label on Mar 13, 2026, 12:07 PM
tobiu added the ai label on Mar 13, 2026, 12:07 PM
tobiu added the grid label on Mar 13, 2026, 12:07 PM
tobiu assigned to @tobiu on Mar 13, 2026, 12:07 PM
tobiu added parent issue #9461 on Mar 13, 2026, 12:07 PM
tobiu referenced in commit 2393935 - "fix: move maxDepth into static config, Implement Controls and Grid Wiring (#9464)" on Mar 13, 2026, 12:43 PM
tobiu
tobiu Mar 13, 2026, 12:43 PM

Implemented Max Depth, Expand All, and Collapse All controls. Wired them to the Grid/Store via commit 23939351b. Fixed maxDepth static config placement.

tobiu closed this issue on Mar 13, 2026, 12:43 PM
tobiu
tobiu Mar 13, 2026, 12:47 PM

Fixed the duplicate dataField issue by adding a name field to the model and store generation, and binding the tree column to it.