-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add Custom props to tree node #1580
Comments
Hi @hsbalar |
@vthinkxie I mean to say can we add custom props to each node of tree, Accept title, key etc Like below json, what if I have more information to show.
|
@hsbalar it is very easy to custom your own tree using template, it can transform any json to the template you want. |
I'm not able to provide custom JSON, when Initialising tree.
|
@hsbalar https://stackblitz.com/edit/angular-d3ury1?file=app/app.component.ts |
Your welcome @vthinkxie. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
What problem does this feature solve?
Can we have feature that node can contains more information other than title, key, isLeaf etc
What does the proposed API look like?
have different icon based on json,
can display more information instead only title,
can have html template
The text was updated successfully, but these errors were encountered: