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
1190
addNode not working when using nodeContentTemplate
posted

When using the nodeContentTemplate option of the tree instead of textKey the addNode method no longer works.  I have a JSFiddle showing this.

http://jsfiddle.net/vpf7pp2q/

  • 4315
    Verified Answer
    Offline posted

    Hi, John

    You don't need to remove textKey option, when using nodeContentTemplate, even it's needed to be there. See the updated sample: http://jsfiddle.net/vpf7pp2q/1/.

    Best regards,

    Nikolay Alipiev