2020-06-19 23:06:33 +08:00
|
|
|
|
@namespace AntDesign
|
|
|
|
|
@inherits ColumnBase
|
|
|
|
|
|
|
|
|
|
@if (IsPlaceholder)
|
|
|
|
|
{
|
|
|
|
|
<td style="padding: 0px; border: 0px; height: 0px;"></td>
|
|
|
|
|
}
|
|
|
|
|
else if (IsColGroup)
|
|
|
|
|
{
|
2020-11-09 22:17:27 +08:00
|
|
|
|
if (Width != null)
|
2020-06-19 23:06:33 +08:00
|
|
|
|
{
|
2020-11-09 22:17:27 +08:00
|
|
|
|
<col style="width: @((CssSizeLength)Width); min-width: @((CssSizeLength)Width);">
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
<col />
|
2020-06-19 23:06:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-28 16:06:02 +08:00
|
|
|
|
else if (IsHeader && HeaderColSpan != 0)
|
2020-06-19 23:06:33 +08:00
|
|
|
|
{
|
2020-11-09 22:17:27 +08:00
|
|
|
|
<th class="@ClassMapper.Class" style="@Style" colspan="@HeaderColSpan">
|
2020-06-19 23:06:33 +08:00
|
|
|
|
@(Title)
|
|
|
|
|
</th>
|
|
|
|
|
}
|
2020-11-03 13:31:22 +08:00
|
|
|
|
else if (!IsHeader && RowSpan != 0 && ColSpan != 0)
|
2020-06-19 23:06:33 +08:00
|
|
|
|
{
|
2020-11-09 22:17:27 +08:00
|
|
|
|
<td class="@ClassMapper.Class" style="@Style" rowspan="@RowSpan" colspan="@ColSpan">
|
2020-06-19 23:06:33 +08:00
|
|
|
|
@ChildContent
|
|
|
|
|
</td>
|
|
|
|
|
}
|