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

How to expand node programmatically? #19

Open
Pirokar opened this issue Feb 19, 2019 · 3 comments
Open

How to expand node programmatically? #19

Pirokar opened this issue Feb 19, 2019 · 3 comments

Comments

@Pirokar
Copy link

Pirokar commented Feb 19, 2019

I need to show this view as expanded with custom node/level show. How can I do it?

@jmanalang3
Copy link

same with me. ff

@jmanalang3
Copy link

@gringoireDM How can I expand my node on first load?

@jmanalang3
Copy link

What i did is here
it worked for me.

value.forEach {
self.treeView.select(node: $0, inSection: 0)
let children = $0.children
children?.forEach {
self.treeView.select(node: $0, inSection: 0)
}
}

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

No branches or pull requests

2 participants