@namespace AntDesign
@using AntDesign.TableModels
@inherits ColumnBase
@if (IsInitialize)
{
return;
}
else if (IsPlaceholder)
{
|
}
else if (IsMeasure)
{
|
}
else if (IsColGroup)
{
@if (AppendExpandColumn)
{
}
if (Width != null)
{
}
else
{
}
}
else if (IsHeader && HeaderColSpan != 0)
{
@if (AppendExpandColumn)
{
|
}
@if (TitleTemplate != null)
{
@TitleTemplate
}
else
{
@Title
}
|
}
else if (!IsHeader && RowSpan != 0 && ColSpan != 0)
{
@if (AppendExpandColumn)
{
@if (Table.RowExpandable(RowData) && (!Table.TreeMode || !RowData.HasChildren))
{
}
|
}
@if (ColIndex == Table.TreeExpandIconColumnIndex && Table.TreeMode)
{
@if (RowData.HasChildren)
{
}
else
{
}
}
@if (CellRender != null)
{
var cellData = new CellData(RowData);
@CellRender(cellData)
}
else
{
@ChildContent
}
|
}