zTree_v3 icon indicating copy to clipboard operation
zTree_v3 copied to clipboard

How to add different set of class name for each node

Open AnanthGopal opened this issue 4 years ago • 0 comments

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

AnanthGopal avatar Oct 25 '21 09:10 AnanthGopal