@namespace AntDesign @inherits ColumnBase @using AntDesign.Core.Helpers @using AntDesign.TableModels @typeparam TData @if (IsInitialize) { return; } else if (Hidden) { return; } else if (IsPlaceholder) { } else if (IsMeasure) {
 
} else if (IsColGroup) { @if (AppendExpandColumn) { } if (Width != null) { } else { } } else if (IsHeader && HeaderColSpan != 0) { @if (AppendExpandColumn) { } var headerCellAttributes = OnHeaderCell?.Invoke(); @if (Sortable || (_filterable && _filters?.Any() == true)) { @FilterToolTipSorter } else if (TitleTemplate != null) { @TitleTemplate } else { @Title } } else if (IsBody && RowSpan != 0 && ColSpan != 0) { var fieldText = !string.IsNullOrWhiteSpace(Format) ? Formatter.Format(Field, Format) : Field?.ToString(); @if (AppendExpandColumn) { @if (Table.RowExpandable(RowData) && (!Table.TreeMode || !RowData.HasChildren)) { } } var cellData = new CellData(RowData, Field, Format); var cellAttributes = OnCell?.Invoke(cellData); @if (ColIndex == Table.TreeExpandIconColumnIndex && Table.TreeMode) { @if (RowData.HasChildren) { } else { } } @if (CellRender != null) { @CellRender(cellData) } else if (ChildContent != null) { @ChildContent } else { @cellData.FormattedValue } } @code { RenderFragment SortHeader => @ ; RenderFragment ToolTipSorter => @ ; RenderFragment FilterToolTipSorter => @ ; RenderFragment FilterInput => filter => @ ; }