Class TwDataTableGroup<TItem>
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
One group of rows in a TwDataTable<TItem> that is grouped by a column. It is the context of GroupHeaderTemplate, so a group header can show totals or other summaries.
public sealed class TwDataTableGroup<TItem>
Type Parameters
TItemThe type of items displayed in the table.
- Inheritance
-
TwDataTableGroup<TItem>
- Inherited Members
Properties
Expanded
Gets whether the group's rows are shown.
public bool Expanded { get; }
Property Value
Items
Gets every row in the group that matches the search, in the current sort order, including rows on other pages.
public IReadOnlyList<TItem> Items { get; }
Property Value
- IReadOnlyList<TItem>
Key
Gets the value every row in the group shares for the grouped column.
public object? Key { get; }
Property Value
Label
Gets the text the group header shows for Key.
public string Label { get; }