Hi,
Is it possible to use node content templates in the igTree control when when using KnockoutJS data binding? When i tried to use a content template the node text was replaced with java script code instead of the property value.
Here is an example: http://jsfiddle.net/38prU/1/
The example is based on the demo from http://igniteui.com/tree/bind-tree-with-ko . The only thing i changed was to replace
textKey: 'CategoryName'
in the binding with
nodeContentTemplate: '${CategoryName}'
which should (if i understand correctly) yield the same result.
What do i have to change to make the template display correctly.
Hey guys,
About your concerns, templating is working as it should be – it is returning the value of the property which is passed to it as html. I waned to let know know that I am currently researching this matter and will contact you soon with my findings.
Thanks for the reply.
I'm looking forward to your findings.
Hi there,
NodeContentTemplate is now supported with the knockout extension for the igTree. You can test it in your sample: http://jsfiddle.net/38prU/2/
Thank you for using the Infragistics forums!