@namespace AntDesign @inherits AntDomComponentBase @using AntDesign.TableModels @typeparam TItem
@if (!HidePagination && PaginationPosition.Contains("top")) { }
@if (TitleTemplate != null || Title != null) {
@if (TitleTemplate != null)@TitleTemplate else @Title
}
@if (ScrollY != null) {
@colGroup(this) @header(this)
@colGroup(this) @for (var i = 0; i < ColumnContext.Columns.Count; i++) { } @body((this, _showItems, 0))
} else {
@colGroup(this) @header(this) @body((this, _showItems, 0))
}
@if (FooterTemplate != null || Footer != null) { }
@if (!HidePagination && PaginationPosition.Contains("bottom")) { }
@code { RenderFragment> header = table => @; RenderFragment> colGroup = table => @; RenderFragment<(Table table, IEnumerable showItems, int level)> body = context => @; }