Hi, I'm trying to use the treeNodeFullTemplate in my app in order to fully customize the component, but I don't seem to be able to view my datas after copying the new template described in here.
My datas don't have the name property, so I want to display the label of each node using another property, but I'm failing at that.
I tried to combine this new template with the previous ones (treeNodeTemplate and loadingTemplate), but nothing seems to work, and reading the docs isn't really helping me right now.
How can I tell the component to look for the property otherName instead of name?
Hi, I'm trying to use the
treeNodeFullTemplate
in my app in order to fully customize the component, but I don't seem to be able to view my datas after copying the new template described in here.My datas don't have the
name
property, so I want to display the label of each node using another property, but I'm failing at that.I tried to combine this new template with the previous ones (
treeNodeTemplate
andloadingTemplate
), but nothing seems to work, and reading the docs isn't really helping me right now.How can I tell the component to look for the property
otherName
instead ofname
?I made an example on stackblitz.