In the last column I am passing ID and I am using template to render an actionlink.
How can I pass ID in the action link?
<ejs-grid id="Grid" dataSource="@Model.Orders" allowPaging="true" toolbar="@( new List<object>() {"Add","Edit","Delete","Update","Cancel"})">
<e-grid-pagesettings pageSize="2" />
<e-grid-columns>
<e-grid-column field="Name" headerText="Order ID" textAlign="Right" width="120"></e-grid-column>
<e-grid-column field="Email" headerText="Customer Name" width="150"></e-grid-column>
<e-grid-column field="PhoneNumber" headerText=" Order Date" format="yMd" width="130"></e-grid-column>
<e-grid-column field="CheckIn" headerText="Freight" format="C2" width="120"></e-grid-column>
<e-grid-column field="Room.Name" headerText="Shipped Date" format="yMd" width="140"></e-grid-column>
<e-grid-column field="OrderTotal" headerText="Ship Country" width="150"></e-grid-column>
<e-grid-column field="Id" headerText="Ship City" template="#temp" width="170"></e-grid-column>
</e-grid-columns>
</ejs-grid>
<script id="temp" type="text/x-template">
@Html.ActionLink("Home", "Index", new { id= })
</script>
I need to pass the id in the action link.