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

TreeView: Expand to selected #559

Closed
1 of 3 tasks
AJIXuMuK opened this issue May 15, 2020 · 4 comments
Closed
1 of 3 tasks

TreeView: Expand to selected #559

AJIXuMuK opened this issue May 15, 2020 · 4 comments
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Milestone

Comments

@AJIXuMuK
Copy link
Collaborator

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [1.18.0]

Add ability to the TreeView component to expand the nodes to see defaultSelectedKeys.
For example, add expandToSelected: boolean property to the component.

@ghost
Copy link

ghost commented May 15, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label May 15, 2020
@AJIXuMuK AJIXuMuK added help wanted type:enhancement New feature or enhancement of existing capability and removed Needs: Triage 🔍 labels May 15, 2020
@nanddeepn
Copy link
Contributor

Me and @siddharth-vaghasia will look in to this.

siddharth-vaghasia added a commit to siddharth-vaghasia/sp-dev-fx-controls-react that referenced this issue May 19, 2020
Fix for Enhancement pnp#559.
siddharth-vaghasia added a commit to siddharth-vaghasia/sp-dev-fx-controls-react that referenced this issue May 19, 2020
Modified Sample items for Treeview to Test ehnacement pnp#559
@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue will be fixed in upcoming release. and removed help wanted labels May 20, 2020
@AJIXuMuK AJIXuMuK added this to the 1.19.0 milestone May 20, 2020
@cclarke3
Copy link

I am using this feature and it works on the first load of the control, however when I try to update state for defaultkeysselected the new treenode selects but does not expand to. Do I need to trigger something? How do I get the tree view to update?

@AJIXuMuK
Copy link
Collaborator Author

This is a closed issue.
@cclarke3 - if you experience problems please open a new one and provide details in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Projects
None yet
Development

No branches or pull requests

3 participants