mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 21:47:38 +08:00
63d09f76a5
* feat: add pagination and empty * fix: indent * feat(module: table): add checkbox selection * feat(module: table): add radio selection * feat: add selected rows
28 lines
447 B
C#
28 lines
447 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
@typeparam TData
|
|
|
|
@if (IsHeader)
|
|
{
|
|
<th class="ant-table-cell">
|
|
@(Title ?? DisplayName ?? FieldName)
|
|
</th>
|
|
}
|
|
else
|
|
{
|
|
<td class="ant-table-cell">
|
|
@if (CellRender != null)
|
|
{
|
|
@CellRender(Field)
|
|
}
|
|
else if (ChildContent != null)
|
|
{
|
|
@ChildContent
|
|
}
|
|
else
|
|
{
|
|
@Field
|
|
}
|
|
</td>
|
|
}
|