Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 989 Bytes
@model Object
@using MvcControlsToolkit.Core.Templates
@using MvcControlsToolkit.Core.TagHelpers
@using MvcControlsToolkit.Core.Views
@using Microsoft.Extensions.Localization
@using System.Globalization
@{
var row = ViewData["Options"] as RowType;
var fatherHelpers = ViewData["ContextualizedHelpers"] as ContextualizedHelpers;
var helpers = fatherHelpers.CreateChild(ViewContext, Html, User, Component, Url, ViewData["LocalizerFactory"] as IStringLocalizerFactory);
row.ComputeWidths(false, 12);
}
@foreach(var col in row.Columns)
{
if (col.EditOnly)
{
continue;
}
@await row.RenderColumn(Model,col,false,helpers)
@if (col.DisplayDetailEndRow != null)
{
for(int i=0; i<col.DisplayDetailEndRow.Length; i++)
{
var css = col.GetLineBreakClass(SupportedGridSystems.Bootstrap3, false, i);
if(css != null)
{
<div class="@css"></div>
}
}
}
}