Skip to content

docs: add hierachical data provider sort and filtering section#5574

Open
ugur-vaadin wants to merge 9 commits into
mainfrom
docs-add-hierarchicaldataprovider-sort-filter-examples
Open

docs: add hierachical data provider sort and filtering section#5574
ugur-vaadin wants to merge 9 commits into
mainfrom
docs-add-hierarchicaldataprovider-sort-filter-examples

Conversation

@ugur-vaadin
Copy link
Copy Markdown
Contributor

Adds a Sorting and Filtering subsection with a nested-format example that reads getSortingComparator() and getFilter(), plus separate subsections covering column-sort configuration and wiring a filter through HierarchicalDataProvider#withConfigurableFilter().

Part of vaadin/flow-components#1886

@ugur-vaadin ugur-vaadin requested a review from vursen May 8, 2026 15:01
@vursen vursen force-pushed the docs-add-hierarchicaldataprovider-sort-filter-examples branch from 1817150 to 264476d Compare May 13, 2026 12:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5574.fly.dev

Built from eac4b4a

@vursen vursen force-pushed the docs-add-hierarchicaldataprovider-sort-filter-examples branch from 264476d to c1ff7db Compare May 14, 2026 13:07
vursen added 6 commits May 14, 2026 19:43
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.
@vursen vursen force-pushed the docs-add-hierarchicaldataprovider-sort-filter-examples branch from 0fa49b3 to 324c834 Compare May 15, 2026 16:29
@vursen vursen requested review from DiegoCardoso and tomivirkki May 18, 2026 05:23
@vursen vursen added target/v25.0 Automatically cherry-pick to the v25.0 branch target/v25.1 Automatically cherry-pick to the v25.1 branch labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target/v25.0 Automatically cherry-pick to the v25.0 branch target/v25.1 Automatically cherry-pick to the v25.1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants