Hello,
I'm using the Grid control of ASP.NET MVC package.
For a specific column, I want to use a custom template, just to add an icon next to the value itself.
This is my template:
<script type="text/x-jsrender" id="colTelefono">
<span>{{:Telefono}}</span>
<a rel='nofollow' href="#" onclick="verificaTelefono({{:Id}}, this)">
<i class="fa fa-info-circle"></i>
</a>
</script>This is my column:
col.Field(x => x.Telefono).Template("#colTelefono").Width(100).Add();
However, when I want to edit the row, the corrisponding cell of the offending column is not editable.
I want to avoid a custom edit template; instead I want to use the default template.
Is this possible? If not, what solutions are there?
Thank you