passing arguments in template function

1 posts, 0 answers
  1. Khushali
    Khushali avatar
    41 posts
    Member since:
    Jan 2012

    Posted 05 Jun 2012 Link to this post

    Hi,

    I am using column template for few of the columns. Adding hyperlink using these templates. Now, i want to pass the column value on click of this hyperlink and also a string. Right now, i am able to pass the column value, but not a string. Please help.

    sample code of template :
        template:'<a href = "javascript:void(0)" onclick ="goToNewTab(\'#=firstname#\')">#=firstname#</a>'

    I want to pass one more string as a parameter. How can i do that ?

    Thanks,
    Khushali
Back to Top