ant-design-blazor/components/table/Column.razor
James Yeung 63d09f76a5 feat(module: table): add selection (#190)
* feat: add pagination and empty

* fix: indent

* feat(module: table): add checkbox selection

* feat(module: table): add radio selection

* feat: add selected rows
2020-06-05 16:06:23 +08:00

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>
}