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
960
Templates not replacing column value
posted

I'm having trouble with using column templates. If I use this :

{ headerText: "Project Name", key: "name", width:"400px", dataType: "string", template: "${name}" },

it works fines, the ${name} is replaced with the value of 'name.' However if I do this :

{ headerText: "Project Name", key: "name", width:"400px", dataType: "string", template: "ProjectName ${name}" },

the column is displayed as 'ProjectName' and that's it... the ${name} is completely ignored.

How can I fix this?

Parents
  • 23953
    Offline posted

    Hello C J,

    I'm not able to reproduce such behavior with the latest 15.1 build 2112. Can you check what version of the Ignite UI product you're using by executing the following statement in your browser JavaScript console:

    $.ui.igGrid.version

    Thanks in advance,
    Martin Pavlov
    Infragistics, Inc.

Reply Children