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 make a node to be selected by default #42

Open
swathi1029 opened this issue Mar 11, 2015 · 3 comments
Open

how to make a node to be selected by default #42

swathi1029 opened this issue Mar 11, 2015 · 3 comments

Comments

@swathi1029
Copy link

I had requirement of making a root node tobe made selected by default. I was unable to get the root node from the treeview. Can anybody please help me out.

@swathi1029 swathi1029 changed the title how to make a node to be selected y default how to make a node to be selected by default Mar 11, 2015
@swathi1029
Copy link
Author

Is there any way to do that. Please let me know.

@haches
Copy link

haches commented May 26, 2015

This question is already discussed in issue #33

@Amenel
Copy link

Amenel commented Jan 8, 2016

I believe the discussion in issue #33 still does not provide a satisfying answer: I guess that, like some other Angular widgets, this directive will be used to reflect existing data and not just for data entry. Suppose a selection (in the tree) had been made by the user, say two days before, then the application is started and the form is loaded again and pre-filled with the data persisted two days before. How does one configure the directive so that a node (different from the root) is selected?
This is exactly the problem that we are facing on the project that I'm working on. Aside from touching the directive's code (which #33 hints to), I don't see a solution.

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

3 participants