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?