title: How do I pass parameters to javascript in a kendo grid column template?
body: <p>I have a kendo grid with a column template. I try to pass a value from the current row as a parameter for my javascript function. My code:</p>
  
  <pre><code>{
    field: "CrmTaskId",
    title: "Crm ", 
    template: '&lt;a href="javascript:hrefTest(#=CrmTaskId#);" &gt;# if( CrmTaskId==null) {#&lt;span&gt;&lt;span&gt;# } else {#&lt;span&gt;#: CrmTaskId#&lt;span&gt;#} #&lt;/a&gt;'
  
  }
  </code></pre>
  
  <p><code>hrefTest</code> is javascript function with one param. But it's not working. Any ideas?</p>