Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support filtering in TreeView #2601

Closed
tznind opened this issue May 6, 2023 · 0 comments · Fixed by #2599
Closed

Support filtering in TreeView #2601

tznind opened this issue May 6, 2023 · 0 comments · Fixed by #2599

Comments

@tznind
Copy link
Collaborator

tznind commented May 6, 2023

Is your feature request related to a problem? Please describe.
Filtering a tree view means not just hiding/showing branches but also considering parents/children that match the filter. This makes most sense as a core library feature on the view rather than a hacky 'add on' that could be applied by the tree builder.

This will be handy for:
PowerShell/ConsoleGuiTools#179

Since v2 release seems quite far off and will likely take a while to be stable I think it makes sense for this to be in v1 and v2.

Describe the solution you'd like
Ability to add a filter to a TreeView to show only branches that match given criteria

@tig tig added the enhancement label May 7, 2023
@tig tig closed this as completed in #2599 May 10, 2023
tig pushed a commit that referenced this issue May 10, 2023
…2604)

* Add ITreeViewFilter

* Fix for v2

* Fix for new private variable name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants