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)
|
|
|
|
|
{
|
|
|
|
|
if (Width > 0)
|
|
|
|
|
{
|
|
|
|
|
<col style="width: @(Width)px; min-width: @(Width)px;">
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-28 16:06:02 +08:00
|
|
|
|
else if (IsHeader && HeaderColSpan != 0)
|
2020-06-19 23:06:33 +08:00
|
|
|
|
{
|
2020-09-28 16:06:02 +08:00
|
|
|
|
<th class="@ClassMapper.Class" style="@FixedStyle @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-09-28 16:06:02 +08:00
|
|
|
|
<td class="@ClassMapper.Class" style="@FixedStyle @Style" rowspan="@RowSpan" colspan="@ColSpan">
|
2020-06-19 23:06:33 +08:00
|
|
|
|
@ChildContent
|
|
|
|
|
</td>
|
|
|
|
|
}
|