Hello Team
I am trying to have template column where i have icon and on click i would like to call a dialog window. by calling opendialog function. and i want to pass a primay key value as parameter to the function which is an string. i am trying to use column template with expression but its not taking it properly.
My code as bellow
<script id="orderDetaiilbutton" type="text/x-template">
<div onclick='ShowOrderDetails("${OrderNumber}")'>
<span><i style="font-size: 15px;color: #0b56b2;cursor:pointer" class="fa fa-file-text" aria-hidden="true" title="view"></i></span>
</div>
</script>
but out put comes as bellow. i want to render the value as "ShowOrderDetails('cm1037830')" how to make it using template with expression.