Skip to content

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

@AnanthGopal

Description

@AnanthGopal

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"}
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions