I'm currently using the ASP.NET MVC helpers in MVC4, with the Infragistics igGrid control, and am looking for a way to insert a custom column in order to implement AJAX calls for CRUD functionality. The only solutions that I've found involve exposing the entity which isn't an option in the current architecture. Essentially I just need to know how to add a new column that can contain a simple href to call an existing REST API that references the model on the specific row.
Here's what I have so far...
<div class="queue-grid">
@( Html.Infragistics().Grid(Model).Columns( c =>
{
c.For(m => m.DateSubmitted).HeaderText...
c.For(m => m.RequestorName).HeaderText...
c.For(m => m.OrganizationName).HeaderText(...
c.For(m => m.CategoryName).HeaderText(...
c.For(m => m.DesiredCompletionDate).HeaderText(...
c.For(m => m.ChargeCode).HeaderText(...
c.For(m => m.ApprovingManagerName).HeaderText(...
c.For(m => m.Description).HeaderText(...
c. //Edit function
c. //Delete function
....