Tree label appearing wrong

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

In case others find this, the problem was there was a template specified that didn’t exist, so instead it was showing the missing template name instead of the value. Removing the template specification from the config it then works.