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

Automatically have certain node expanded by default #333

Open
sbroadhurst3189 opened this issue Dec 3, 2023 · 1 comment
Open

Automatically have certain node expanded by default #333

sbroadhurst3189 opened this issue Dec 3, 2023 · 1 comment

Comments

@sbroadhurst3189
Copy link

I have nodes data with a boolean to determine whether they should be expanded by default or not, but cant seem to get it to work with setExpanded or expandSomeNodes. Is there a way to have certain nodes open by default depending on this boolean? As a bonus is there a way to hide and prevent the collapsing of these nodes? How would I go about doing this? thanks

@bumbeishvili
Copy link
Owner

@sbroadhurst3189 can you provide an online sample reproducing issue?

You can fork this one

https://stackblitz.com/edit/js-dppjis?file=index.html

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