@namespace Connected.Components @typeparam T @typeparam ModelType @inherits ColumnBase @if (Visible) { if (Mode == Rendermode.Header) { if (SortLabel != null) { @HeaderText } else if (SortBy != null) { @HeaderText } else { @HeaderText } } else if (Mode == Rendermode.Item || (ReadOnly && Mode == Rendermode.Edit)) { @GetFormattedString(Value) } else if (Mode == Rendermode.Edit) { } else if (Mode == Rendermode.Footer) { @if (_footerValueAvailable) { @GetFormattedString(FooterValue) } else { @FooterText } } }