BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi, Prasanna Kumar N.S.V !
I need to bind generated url to row in Grid, every row have a unique url, but url generating pattern is the same @Action.Url("GetFileInfo", "Files", {{:FileID}}) and only FileID property changes in every row url.
You're right, I you need to move to the generated URL with value of any of the column when I click on the row
@(Html.EJ().Grid<object>("HierarchyGrid")
.Datasource((IEnumerable<object>)ViewBag.datasource)
.AllowPaging()
.RowTemplate("#templateData")
.Columns(col =>
{
col.HeaderText("Photo").Width(10).Add();
})
)
<script id="templateData" type="text/x-jsrender">
<tr>
<td class="details">
<table class="CardTable" cellpadding="3" cellspacing="2">
<colgroup>
<col width="10">
</colgroup>
<tbody>
<tr>
<td>
<a rel='nofollow' href="/Grid/RowTemplate?OrderID={{:EmployeeID}}">EmployeeID</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</script> |