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

Allow nested object properties for children,label attribute #198

Open
adityarj opened this issue Jul 12, 2017 · 2 comments
Open

Allow nested object properties for children,label attribute #198

adityarj opened this issue Jul 12, 2017 · 2 comments

Comments

@adityarj
Copy link

Currently the label or children attribute has to be a direct property of the node.

<div ivh-treeview="model" ivh-treeview-label-attribute="'name'" </div>

Being able to access nested object properties would be useful

<div ivh-treeview="model" ivh-treeview-label-attribute="'data.name'" </div>

I'm interested to work on the attributes

@jtrussell
Copy link
Contributor

Sorry, just getting around to some things now. If you'd like to submit a PR with tests we'd be interested.

@adityarj
Copy link
Author

adityarj commented Sep 5, 2017

Alright, will give it a go

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

No branches or pull requests

2 participants