You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Table/THeadRow.razor

33 lines
727 B

2 years ago
@namespace Connected.Components
@implements IDisposable
@inherits UIComponent
<tr class="@Classname" @onclick="@OnRowClick" style="@Style" @attributes="@UserAttributes">
@if (Context.DisplayApplyButtonAtStart(IgnoreEditable) || Context.DisplayEditbuttonAtStart(IgnoreEditable))
{
<Th />
}
@if (IsExpandable || ((Context?.Table.MultiSelection ?? false) && !IgnoreCheckbox))
{
<Th>
@if (IsExpandable)
{
<div class="ml-4 mr-5"></div>
}
@if (IsCheckable)
{
<CheckBox @bind-Checked="IsChecked" Class="mud-table-cell-checkbox" />
}
</Th>
}
@ChildContent
@if (Context.DisplayApplyButtonAtEnd(IgnoreEditable) || Context.DisplayEditbuttonAtEnd(IgnoreEditable))
{
<Th />
}
</tr>