Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
igTree 2013.2: Using node content templates with knockout.
posted

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.

  • 750
    Offline posted

    Hi together,

    the problem described by Paul above is very critical to our project! We use the igTree in an B2B web application that's gonna be the relaunch of our main software product line. Since we are at the beginning of the project, we evaluate and decide technologies and controls we want to use in the project.

    The problem above blocks us from going on with development. Now we have to decide whether to use the igTree or implement the tree for our own! Time runs...

    So it would by very helpful, if somebody can help us solving the problem!

    Thanks in advance for your help!

    Robin