I’m programmatically setting the items in a tree.
tree.data.add({id: EmployeeName, value: “New Item”}, 0, ManagerName);
The structure of the tree comes out correct, but every item is shown as the template name (in this case “My Tree”) instead of “New Item”.
Is there something I’m doing wrong? I stepped into the debug version of Webix and I can see the value property is being set correctly, but I don’t know why the rendered container item name is wrong.
Any help appreciated.
Thanks,
Brett