docs: show how to reveal matching items when filtering Tree Grid - #6197
Merged
Merged
Conversation
Setting a filter keeps the paths to matching items, but collapsed ancestors stay collapsed. Document expanding the filtered tree with expandRecursively, fetching the root items from the data provider so that filtered-out roots are excluded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
totally-not-ai Bot
added a commit
that referenced
this pull request
Sep 28, 2026
It's now proposed in #6197. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Preview DeploymentThis PR has been deployed for preview. URL: https://docs-preview-pr-6197.fly.dev Changed pagesAdded content is highlighted in green; removed content is marked in red on each page.
Built from c54b69a |
vursen
reviewed
Sep 28, 2026
vursen
approved these changes
Sep 28, 2026
vursen
marked this pull request as ready for review
September 28, 2026 09:29
vursen
enabled auto-merge (squash)
September 28, 2026 09:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setting a filter on a
TreeDataProviderkeeps the whole path from the root to each matching item, but collapsed ancestors stay collapsed, so matches deeper in the tree aren't visible.This adds a short example to the Filtering Items section of
components/tree-grid/data-binding.adoc. The example expands the filtered tree withexpandRecursively, fetching the root items from the data provider so that filtered-out roots are excluded, and explains theHierarchicalQueryarguments. A note says that items expanded this way stay expanded when the filter changes.This change was split out of #6185.
🤖 Generated with Claude Code