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 add different set of class name for each node #497

Open
AnanthGopal opened this issue Oct 25, 2021 · 0 comments
Open

How to add different set of class name for each node #497

AnanthGopal opened this issue Oct 25, 2021 · 0 comments

Comments

@AnanthGopal
Copy link

For example, Below data i have for tree view, I need to add class property value to each node

var zNodes= [
{"id":1, "pId":0, "name":"test1", class="student"},
{"id":11, "pId":1, "name":"test11", class="teacher"},
{"id":12, "pId":1, "name":"test12", class="teacher"},
{"id":111, "pId":11, "name":"test111", class="teacher"}
];

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

1 participant