@namespace Connected.Components
@implements IDisposable
@inherits UIComponent
@typeparam T
@*HEADER:*@
@if (HeaderTemplate != null && GroupDefinition != null)
{
}
else
{
@("There aren't any group definition to use with this component.")
}
@if (IsExpanded)
{
@*CHILDREN:*@
@if (_innerGroupItems != null && GroupDefinition != null)
{
@foreach (var group in _innerGroupItems)
{
}
}
else
{
@Table?.RenderRows(Items, (GroupDefinition?.Indentation ?? false) ? $"mud-table-row-group-indented-{GroupDefinition?.Level - 1}" : null, GroupDefinition?.IsThisOrParentExpandable ?? false)
}
@*FOOTER:*@
@if (FooterTemplate != null && GroupDefinition != null)
{
}
}