docs: add hierachical data provider sort and filtering section#5574
Open
ugur-vaadin wants to merge 9 commits into
Open
docs: add hierachical data provider sort and filtering section#5574ugur-vaadin wants to merge 9 commits into
ugur-vaadin wants to merge 9 commits into
Conversation
1817150 to
264476d
Compare
Preview DeploymentThis PR has been deployed for preview. URL: https://docs-preview-pr-5574.fly.dev Built from eac4b4a |
264476d to
c1ff7db
Compare
Split data binding sort/filter sections into separate live examples. Extract Folder, FolderTreeData, and per-section FolderDataProvider/FolderView into compilable sources.
Hide standard data provider overrides behind a placeholder comment to focus snippets on hierarchy logic. Replace repeated nested-format note with a callout linking to the format section. Clarify that Tree Grid ships without a built-in filter field. Switch FolderView base class to VerticalLayout for proper spacing between filter field and grid.
Replace stream-based recursion with list accumulation in sort and filter FolderDataProvider examples. Filter variant now keeps ancestors of deep matches by checking descendants before including a folder.
0fa49b3 to
324c834
Compare
DiegoCardoso
approved these changes
May 18, 2026
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.
Adds a Sorting and Filtering subsection with a nested-format example that reads
getSortingComparator()andgetFilter(), plus separate subsections covering column-sort configuration and wiring a filter throughHierarchicalDataProvider#withConfigurableFilter().Part of vaadin/flow-components#1886