-
Notifications
You must be signed in to change notification settings - Fork 333
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
Parent node value is not included in the selected items #43
Comments
Question 1: using TreeviewEventParser like in my example 5 https://leovo2708.github.io/ngx-treeview/. You can get list of checked from root to leaf. Question 2: Yes, you can. You can update checked of your TreeviewItem object. But it will not update checked of parent, you must do this yourself. You should write a helper to handle this. |
Thanks for quick resposne @leovo2708.
I tried to override the |
If I support option {disabled: true, checked: false} for item ReactJS, does it rescue you? |
The behavior I'm looking for is 'parent/children' can be checked/unchecked independently while we can leverage existing features like custom template, filter etc. This can be config at the tree level or item template.
… On Sep 11, 2017, at 9:56 PM, Leo Vo ***@***.***> wrote:
If I support option {disabled: true, checked: false} for item ReactJS, does it rescue you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I think you can use itemTemplate. It can help you. |
@leovo2708 I need a way to emit this event |
Please help me to create pull request. Thanks. |
Published in new version 1.2.2. |
Hi, Its working as expected when I select child nodes. I'm using the latest verion 1.2.3. Parent and child nodes can be selected independently by setting decoupleParentChild= true in the config. |
please get some example to get parent value(Id) in items. I think, It's very important for all developers. Parent (value: 1) -- I need this value, but I think this component doesn't have such functionality. |
same issue please let me know if it's fixed |
I have couple questions/requests for your great component
For example Frontend and Backend nodes in your first demo have their own ids, they should be included in the selected results.
I still want Programming and Front end checked but ReactJS unchecked..
This also related to item 1 since I need to send Front end value back to backend.
Thanks
The text was updated successfully, but these errors were encountered: