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

Autoscroll to node? #7

Closed
pbeccegato opened this issue May 15, 2021 · 3 comments · Fixed by #8
Closed

Autoscroll to node? #7

pbeccegato opened this issue May 15, 2021 · 3 comments · Fixed by #8
Assignees
Labels
enhancement New feature or request

Comments

@pbeccegato
Copy link

I've implemented your treeview in my project and it works fine so, by first, many thanks for your job.
In some case, I have very extended trees, so I would like to implement a function to search a node, using for example the "find" method and than autoscroll to tree view to that node. Is there some method that can I use fo this?

@baumths
Copy link
Owner

baumths commented May 15, 2021

Thank you for trying the package out!

I was thinking about it the other day and it's totally possible because we have both the index and height of nodes to calculate the offset in the scrollview.

I'll get into it as soon as possible!

@baumths baumths added the enhancement New feature or request label May 15, 2021
@baumths baumths self-assigned this May 15, 2021
@jaxnz
Copy link

jaxnz commented Aug 3, 2022

@mbaumgartenbr can you please explain how this would work? Documentation is confusing

@baumths
Copy link
Owner

baumths commented Aug 4, 2022

Hey @jaxnz!

The current version of the package doesn't support scrolling to nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants