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
430
How to pass string to a javascript function from iggrid
posted

https://jsfiddle.net/gh/get/jquery/1.9.1/IgniteUI/help-samples/tree/master/16.2/EN/grid/column-template/fiddle

In the above example at line number 11('deleteRow(${ProductID})') it works.

However if i try to pass a string it fails(onclick='deleteRow(${ProductNumber})' )

How to pass string?

Parents
No Data
Reply
  • 430
    posted

    For more clarity i have put an alert

    Working on passing ProductID

    https://jsfiddle.net/jzkpvv3L/1/(DATATYPE number)

    Not working on passing ProductNumber(STRING TYPE)

    https://jsfiddle.net/jzkpvv3L/2/

Children