@model HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix @for (int i = 0; i < Model.Value[0].Length; i++) { } @for (int i = 0; i < Model.Value.Length; i++) { @for (int j = 0; j < Model.Value[i].Length; j++) { } }
@Model.Name Column @iDelete Add
@Html.Raw(Html.TextBoxFor(model => Model.Value[i][j]).ToString().Replace("itm.Value.Value[" + i + "][" + j + "]", Model.Name + "_" + i + "_" + j)) @Html.ActionLink("-", "DeleteRow", new { paramName = @Model.Name, id = @i }) @Html.ActionLink("+", "AddRow", new { paramName = @Model.Name, id = @i })