@namespace Connected.Components
@inherits UIComponent
@typeparam T

@if (Column is not null)
{
    <td class="@_classname" style="@_style" colspan="@Column.FooterColSpan" @attributes="@CustomAttributes">
        @if (Column.AggregateDefinition != null)
        {
            @Column.AggregateDefinition?.GetValue(Column.Field, items)
        }
        else if (Column.FooterTemplate != null)
        {
            @Column.FooterTemplate(Column.footerContext)
        }
    </td>
}