DataListSelection
Row selection, a bar of bulk actions with an every-result scope and a toolbar menu of actions, for a list in memory and for a provider. Interactive only.
On this page
Examples
Rows in memory
A selection column is added when the list has a KlyDataListSelectionActions bar (or Selectable, or a bound SelectedKeys), and the schema needs a RowKey. Tick rows with the mouse or Space; Shift+click ticks the range from the row touched last over the rows on screen; the box in the header ticks the rows of the page and is mixed (indeterminate) while only some are ticked. A list in memory keeps the selection across pages, but only the selected rows that the search and the filters still match stay selected, so a bulk action never reaches a row the user cannot see in the result. The bar shows how many rows are selected in a live region (nothing is announced until a row is ticked), "Select all N results" when the source knows the total (then the actions work on every matching row), the actions and Clear selection. Delete asks first with a dialog whose text counts the rows, runs while its button shows a spinner and unticks the rows when it succeeds (ClearSelection = DataListSelectionClear.Success); a failing action keeps the selection and reports through OnError. Use TargetCount of the context (not SelectedItems.Count) in a confirmation and in Visible and Disabled: it is the number of ticked rows, or the matching count under every result, which is what the action will act on. The bar is Sticky at the bottom of its list by default (Position = Fixed pins it to the window). The list shows no toasts of its own: report a result from OnExecute and a failure from OnError. ClearSelection = Success unticks the rows the action targeted (the ones ticked when it started); rows ticked while it ran stay. After it, if the focus was lost with the bar, it goes to the select-all box. The toolbar menu (KlyDataListActionsDropdown) holds actions that need no selection. Selection and actions are interactive only: a statically rendered list has no checkbox column, no bar and no menu (a prerender of an interactive page shows the boxes disabled until the page is interactive, so it does not shift); use a link or a form for what must work without JavaScript.
1–10 of 120
@using Klyroo.Query
@* Rows in memory with a selection: tick rows (Shift extends a range, the box in the header ticks the page), move to another page (a list in memory keeps the selection) and narrow it with the search or a filter
(only the selected rows that still match stay selected). The bar at the bottom shows the count, "Select all N results" and the actions; Delete asks first. Interactive only: statically rendered the table has no checkboxes. *@
<div class="w-full" data-testid="list-selection">
<p role="status" class="mb-2 min-h-5 text-sm text-(--klyroo-text-muted)" data-testid="sel-message">@_message</p>
<KlyDataList TItem="Invoice" Label="Invoices with a selection" Schema="InvoiceFilterData.Schema" Items="_items" UrlKey="sel">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListSearch />
<div class="flex items-center gap-2">
<KlyDataListResultCount />
<KlyDataListActionsDropdown Actions="_toolbarActions" />
</div>
</div>
<KlyDataListFilterTags ShowAdd ShowClear />
<KlyDataListTable>
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" />
<KlyDataListFieldColumn Field="status" />
<KlyDataListFieldColumn Field="amount" Align="DataListAlign.End" Format="C2" />
</KlyDataListTable>
<KlyDataListSelectionActions Actions="_actions" />
<KlyDataListPagination />
</KlyDataList>
</div>
@code {
private IReadOnlyList<Invoice> _items = InvoiceData.All;
private string? _message;
private DataListAction<Invoice>[] _actions = [];
private DataListAction<Invoice>[] _toolbarActions = [];
protected override void OnInitialized()
{
_actions =
[
new DataListAction<Invoice>
{
Key = "export",
Label = "Export",
Icon = "download",
OnExecute = context =>
{
// For "all results" of a list in memory the context holds every matching invoice.
_message = $"Exported {context.SelectedItems.Count} invoices ({context.Scope}).";
StateHasChanged();
return Task.CompletedTask;
},
},
new DataListAction<Invoice>
{
Key = "delete",
Label = "Delete",
Icon = "trash",
Color = KlyColor.Error,
ClearSelection = DataListSelectionClear.Success,
Confirm = new DataListActionConfirm<Invoice>
{
Title = "Delete invoices",
Description = context => $"{context.TargetCount} invoices will be removed from the list.",
ConfirmLabel = "Delete",
Color = KlyColor.Error,
},
OnExecute = context =>
{
var gone = context.SelectedKeys.Select(int.Parse).ToHashSet();
// New rows (a new reference) load the list again, and the selection drops what is gone.
_items = [.. _items.Where(i => !gone.Contains(i.Id))];
_message = $"Deleted {gone.Count} invoices.";
StateHasChanged();
return Task.CompletedTask;
},
},
];
_toolbarActions =
[
new DataListAction<Invoice>
{
Key = "restore",
Label = "Restore all invoices",
Icon = "upload",
Visible = _ => _items.Count < InvoiceData.All.Length,
OnExecute = _ =>
{
_items = InvoiceData.All;
_message = "All invoices are back.";
StateHasChanged();
return Task.CompletedTask;
},
},
new DataListAction<Invoice>
{
Key = "print",
Label = "Print the list",
Icon = "copy",
OnExecute = _ =>
{
_message = "Printing is not part of this example.";
StateHasChanged();
return Task.CompletedTask;
},
},
];
}
}Provider and bound keys
Over a provider (or a Queryable) the list keeps the selected rows of the page on screen only: a new page, sort, search or filter drops the rows that left (SelectionScope.Page applies to a list in memory too). @bind-SelectedKeys reads and sets the selection as strings (the RowKey of the schema); give a new set when you change it, and the keys the list cannot keep (rows not on the page) are dropped and reported back. Select all N results appears when the provider returns a TotalCount; an action on every result gets Scope = All, no rows, MatchingCount and the Request (search, filters and sort, no paging) to send to the server, which applies it with schema.Apply, so a bulk action never needs the rows on the client. The every-result choice goes back to the ticked rows when the user ticks a row or changes the search or the filters.
Selected keys: none
1–10 of 120
@using Klyroo.Query
@* A provider with bound keys: the list keeps the ticked rows of the page only (move to another page and they leave the selection), and "Select all N results" makes an action work on every result
without the rows ever reaching the client: the action receives the request (search, filters, sort, no paging) and sends it to the server, which applies it. The keys are bound with @@bind-SelectedKeys. *@
<div class="w-full" data-testid="list-selection-provider">
<div class="mb-2 flex flex-wrap items-center gap-2">
<KlyButton Label="Select invoices 2 and 4" Size="KlySize.Sm" Variant="ButtonVariant.Outline" Color="KlyColor.Neutral" OnClick="SelectTwo" data-testid="selp-two" />
<p class="text-sm text-(--klyroo-text-muted)" data-testid="selp-keys">Selected keys: @(_keys.Count == 0 ? "none" : string.Join(", ", _keys.OrderBy(k => int.Parse(k))))</p>
</div>
<p role="status" class="mb-2 min-h-5 text-sm text-(--klyroo-text-muted)" data-testid="selp-message">@_message</p>
<KlyDataList TItem="Invoice" Label="Invoices from a provider, with a selection" Schema="InvoiceFilterData.Schema" Provider="LoadAsync" UrlKey="selp" @bind-SelectedKeys="_keys">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListSearch />
<KlyDataListResultCount />
</div>
<KlyDataListFilterTags ShowAdd ShowClear />
<KlyDataListTable>
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" />
<KlyDataListFieldColumn Field="status" />
<KlyDataListFieldColumn Field="amount" Align="DataListAlign.End" Format="C2" />
</KlyDataListTable>
<KlyDataListSelectionActions Actions="_actions" />
<KlyDataListPagination />
</KlyDataList>
</div>
@code {
private IReadOnlySet<string> _keys = new HashSet<string>();
private string? _message;
private DataListAction<Invoice>[] _actions = [];
protected override void OnInitialized() =>
_actions =
[
new DataListAction<Invoice>
{
Key = "archive",
Label = "Archive",
Icon = "download",
OnExecute = context =>
{
if (context.Scope == DataListActionScope.All)
{
// The rows are not here: this is where the request goes to the server (schema.Apply(query, request)).
var request = context.Request!;
var search = request.Search?.Term;
_message = $"Archive every result: {context.MatchingCount} invoices, search {(string.IsNullOrEmpty(search) ? "none" : $"“{search}”")}, {request.Filter.Children.Count} filters, no paging.";
}
else
{
_message = $"Archive invoices {string.Join(", ", context.SelectedKeys.OrderBy(k => int.Parse(k)))}.";
}
StateHasChanged();
return Task.CompletedTask;
},
},
];
private void SelectTwo() => _keys = new HashSet<string> { "2", "4" };
private ValueTask<DataListResult<Invoice>> LoadAsync(DataListRequest request, CancellationToken cancellationToken) =>
ValueTask.FromResult(InvoiceFilterData.Schema.ExecuteInMemory(InvoiceData.All, request));
}Row actions
RowActions of KlyDataListTable adds a last column of DataListRowAction items (or place a KlyDataListRowActions part in a column template). On a wide screen the first RowActionsMaxVisible actions (3 by default) are buttons and the rest sit in a menu named Actions for {row label} (Actions for row N without a RowLabel); 0 keeps one button per row. Group puts actions together, with a divider between groups in the order of their first visible action; an action with Children opens a submenu and always sits in the menu. Below the md breakpoint one button opens a bottom sheet with every action and, under a disabled one, its DisabledReason; CSS switches between the buttons and the sheet, and the sheet holds its actions only while it is open, so a row never carries a second copy of them. On a wide screen the DisabledReason of a disabled button or menu entry is its title (the tooltip) and its accessible description. A disabled action disables its children (in the menu, in the sheet, which says why once under the heading, and as links), and a hidden one hides them. Visible hides an action for a row, Disabled and Loading (and the run itself, which shows a spinner) block it, and an action that is hidden, disabled, loading or already running for the row is ignored. Confirm asks first, with the same dialog as the bulk actions. A failure, an exception or context.Fail(message), keeps the list as it is, raises OnRowActionError and never throws to the page; RefreshOnSuccess loads the list again after a success. When an action removes its row and the focus was in it, the focus moves to the actions of the next row, else to the table: the browser watches the row from the moment the action starts, so it works when the page renders again while the action is still running, with RefreshOnSuccess and with an action that refreshes the list itself. Row actions are interactive only, except an action with Href, which is a plain link in a statically rendered list (the others are not drawn there, and a prerender of an interactive page shows only the links until it is interactive).
@using Klyroo.Query
@* Row actions: the first two as buttons, the others in a menu with a divider between groups and a submenu (Send to); below the md breakpoint one "Actions for Invoice N" button opens a sheet that also says why an
action is disabled. Open is a link, so it also works in a statically rendered list; everything else needs the page to be interactive. Delete asks first, and the focus then moves to the actions of the next row. *@
<div class="w-full" data-testid="list-rowactions">
<p role="status" class="mb-2 min-h-5 text-sm text-(--klyroo-text-muted)" data-testid="ra-message">@_message</p>
<KlyDataList TItem="Invoice" Label="Invoices with row actions" Schema="InvoiceFilterData.Schema" Items="_items" UrlKey="ra">
<KlyDataListSearch />
<KlyDataListTable RowActions="_actions" RowActionsMaxVisible="2" OnRowActionError="@((DataListRowActionFailure<Invoice> failure) => OnError(failure))">
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" />
<KlyDataListFieldColumn Field="status" />
<KlyDataListFieldColumn Field="amount" Align="DataListAlign.End" Format="C2" />
</KlyDataListTable>
<KlyDataListPagination />
</KlyDataList>
</div>
@code {
private IReadOnlyList<Invoice> _items = InvoiceData.All;
private string? _message;
private DataListRowAction<Invoice>[] _actions = [];
// The parts render themselves: the page renders again to show its own text (and to hand the list its new rows).
private void Say(string message)
{
_message = message;
StateHasChanged();
}
private void OnError(DataListRowActionFailure<Invoice> failure) =>
Say($"{failure.Action.Label} failed for invoice {failure.Item.Id}: {failure.Message ?? failure.Exception?.Message}");
protected override void OnInitialized() =>
_actions =
[
new DataListRowAction<Invoice>
{
Key = "open",
Label = "Open",
Icon = "download",
Group = "View",
Href = c => $"#invoice-{c.Item.Id}",
},
new DataListRowAction<Invoice>
{
Key = "copy",
Label = "Copy number",
Icon = "copy",
Group = "View",
OnExecute = c =>
{
Say($"Copied the number of invoice {c.Item.Id}.");
return Task.CompletedTask;
},
},
new DataListRowAction<Invoice>
{
Key = "send",
Label = "Send to",
Group = "Share",
// A disabled parent disables its children, in the menu and in the sheet.
Disabled = c => c.Item.Status == "Draft",
DisabledReason = _ => "A draft cannot be sent.",
Children =
[
new DataListRowAction<Invoice>
{
Key = "send-email",
Label = "Email",
OnExecute = c =>
{
Say($"Invoice {c.Item.Id} sent by email.");
return Task.CompletedTask;
},
},
new DataListRowAction<Invoice>
{
Key = "send-message",
Label = "Message",
OnExecute = c =>
{
Say($"Invoice {c.Item.Id} sent as a message.");
return Task.CompletedTask;
},
},
],
},
new DataListRowAction<Invoice>
{
Key = "paid",
Label = "Mark as paid",
Group = "Manage",
Disabled = c => c.Item.Status == "Paid",
DisabledReason = _ => "This invoice is already paid.",
OnExecute = c =>
{
var id = c.Item.Id;
_items = [.. _items.Select(i => i.Id == id ? i with { Status = "Paid" } : i)];
Say($"Invoice {id} is paid.");
return Task.CompletedTask;
},
},
new DataListRowAction<Invoice>
{
Key = "archive",
Label = "Archive",
Group = "Manage",
Visible = c => c.Item.Status != "Draft",
OnExecute = c =>
{
// A refusal that is not an exception: the row stays and OnError hears about it.
c.Fail("the server refused");
return Task.CompletedTask;
},
},
new DataListRowAction<Invoice>
{
Key = "delete",
Label = "Delete",
Icon = "trash",
Color = KlyColor.Error,
Group = "Danger",
Confirm = new DataListRowActionConfirm<Invoice>
{
Title = "Delete invoice",
Description = c => $"Invoice {c.Item.Id} will be removed from the list.",
ConfirmLabel = "Delete",
Color = KlyColor.Error,
},
OnExecute = c =>
{
var id = c.Item.Id;
_items = [.. _items.Where(i => i.Id != id)];
Say($"Deleted invoice {id}.");
return Task.CompletedTask;
},
},
];
}Rows removed by an action
A list over a provider whose actions remove their row: Remove with RefreshOnSuccess (the list loads again from the provider after the action succeeded) and Remove after a pause (an asynchronous action that removes the row and calls RefreshAsync of the list itself). The row leaves the table before the action has returned, and the focus still goes to the actions of the next row.
@using Klyroo.Query
@* Row actions that remove their row after the page has already moved on: "Remove" leaves it to RefreshOnSuccess (the list loads again from its provider and the row is gone), "Remove after a pause" waits, removes the
row and refreshes the list itself. In both the row, with the action that is still running, leaves the table before the action returns, and the focus still moves to the actions of the next row. *@
<div class="w-full" data-testid="list-rowactions-remove">
<KlyDataList TItem="Invoice" Label="Invoices removed by row actions" Schema="InvoiceData.Schema" Provider="LoadAsync" UrlKey="rm">
<KlyDataListTable RowActions="_actions" RowActionsMaxVisible="0">
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" />
<KlyDataListFieldColumn Field="status" />
</KlyDataListTable>
<KlyDataListPagination />
</KlyDataList>
</div>
@code {
private readonly List<Invoice> _store = [.. InvoiceData.All[..30]];
private DataListRowAction<Invoice>[] _actions = [];
private ValueTask<DataListResult<Invoice>> LoadAsync(DataListRequest request, CancellationToken cancellationToken) =>
ValueTask.FromResult(InvoiceData.Schema.ExecuteInMemory(_store, request));
protected override void OnInitialized() =>
_actions =
[
new DataListRowAction<Invoice>
{
Key = "remove",
Label = "Remove",
RefreshOnSuccess = true,
OnExecute = c =>
{
_store.RemoveAll(i => i.Id == c.Item.Id);
return Task.CompletedTask;
},
},
new DataListRowAction<Invoice>
{
Key = "remove-later",
Label = "Remove after a pause",
OnExecute = async c =>
{
await Task.Delay(40);
_store.RemoveAll(i => i.Id == c.Item.Id);
await c.List.RefreshAsync();
},
},
];
}API
KlyDataListSelectionActions<TItem>
The bar of bulk actions on the selected rows: the number of rows ticked, a switch to act on every result, and the buttons of the actions. It appears when rows are ticked and its presence turns the selection on.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Actions |
IReadOnlyList |
The actions, in the order they are shown. | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
MaxVisible |
int |
3 |
How many actions show as buttons; the others go into a "More actions" menu (3 by default). |
Position |
Data |
Data |
Whether the bar sticks to the bottom of its list while the list is on screen (the default) or is fixed to the bottom of the window. Values: Sticky, Fixed. |
Scope |
bool |
true |
Shows the switch between the ticked rows and every result when the source knows how many results there are (true by default). |
Ui |
DataListUi |
Per-instance classes for each slot. |
Events
| Name | Type | Description |
|---|---|---|
OnError |
EventCallback |
Raised when an action throws; the part keeps the selection, does not refresh the list and does not rethrow. Without a handler the failure is logged. |
Ui slots
Ui takes a DataListUi with one class string per slot, merged after the theme.
| Slot | Styles |
|---|---|
Root |
The outer element of the list. Classes given here are merged with the theme classes of the slot. |
Toolbar |
The row that holds the search field, the result count and the refresh button in the default layout. Classes given here are merged with the theme classes of the slot. |
Search |
The search form of KlyDataListSearch`1 . Classes given here are merged with the theme classes of the slot. |
SearchField |
The wrapper around the search input and its clear button. Classes given here are merged with the theme classes of the slot. |
SearchInput |
The search input. Classes given here are merged with the theme classes of the slot. |
SearchClear |
The button that clears the search text. Classes given here are merged with the theme classes of the slot. |
SearchClearIcon |
The icon of the clear button of the search field. Classes given here are merged with the theme classes of the slot. |
SearchSubmit |
The submit button of the search form, shown in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
ResultCount |
The text that gives the number of results. Classes given here are merged with the theme classes of the slot. |
Refresh |
The refresh button of KlyDataListRefresh`1 . Classes given here are merged with the theme classes of the slot. |
RefreshIcon |
The icon of the refresh button. Classes given here are merged with the theme classes of the slot. |
TableRoot |
The scrolling region around the table. Classes given here are merged with the theme classes of the slot. |
Table |
The table element. Classes given here are merged with the theme classes of the slot. |
Caption |
The visually hidden caption of the table. Classes given here are merged with the theme classes of the slot. |
Thead |
The table header section. Classes given here are merged with the theme classes of the slot. |
Tr |
A table row. Classes given here are merged with the theme classes of the slot. |
Th |
A header cell. Classes given here are merged with the theme classes of the slot. |
SortButton |
The button of a header cell that sorts by its column. Classes given here are merged with the theme classes of the slot. |
SortIcon |
The sort direction icon of a header cell. Classes given here are merged with the theme classes of the slot. |
Tbody |
The table body. Classes given here are merged with the theme classes of the slot. |
Td |
A body cell. Classes given here are merged with the theme classes of the slot. |
Empty |
The cell that holds the empty state of the table. Classes given here are merged with the theme classes of the slot. |
Skeleton |
A placeholder bar shown in a cell while the first rows load. Classes given here are merged with the theme classes of the slot. |
Pagination |
The container of KlyDataListPagination`1 . Classes given here are merged with the theme classes of the slot. |
PageSize |
The page size picker with its label. Classes given here are merged with the theme classes of the slot. |
PageSizeLabel |
The label of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeSelect |
The select of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeForm |
The form around the page size picker in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
Error |
The error state shown when a load failed. Classes given here are merged with the theme classes of the slot. |
Filters |
The container of the filter tags and of the add and clear buttons. Classes given here are merged with the theme classes of the slot. |
FilterTags |
The list of filter tags. Classes given here are merged with the theme classes of the slot. |
FilterTag |
One filter tag. Classes given here are merged with the theme classes of the slot. |
FilterTagButton |
The button of a filter tag that opens its editor. Classes given here are merged with the theme classes of the slot. |
FilterTagLabel |
The name of the filter inside a tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The operator text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagValue |
The value text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagRemove |
The button that removes a filter from its tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The icon of the remove button of a tag. Classes given here are merged with the theme classes of the slot. |
AddFilter |
The add filter button of KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
ClearFilters |
The clear filters button of KlyDataListClearFilters`1 . Classes given here are merged with the theme classes of the slot. |
FilterPopover |
The popover that holds a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterEditor |
The root of KlyDataListFilterEditor`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The name of the filter above its editor. Classes given here are merged with the theme classes of the slot. |
FilterField |
A labelled field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterFieldLabel |
The label of a field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOperator |
The operator select of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterInput |
The value input of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptions |
The list of options of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOption |
One option of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptionLink |
The link of an option in a statically rendered editor. Classes given here are merged with the theme classes of the slot. |
Filter |
The count shown next to an option when its filter has facets. Classes given here are merged with the theme classes of the slot. |
Filter |
The checkbox of an option. Classes given here are merged with the theme classes of the slot. |
FilterEmpty |
The text shown when an option filter has no options. Classes given here are merged with the theme classes of the slot. |
FilterActions |
The row of Apply, Cancel and Reset buttons of an editor. Classes given here are merged with the theme classes of the slot. |
FilterChoices |
The group of operator choices of an editor. Classes given here are merged with the theme classes of the slot. |
FilterMenu |
The menu that lists the filters in KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
FilterMenuItem |
One entry of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterMenuHeader |
The header of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterBack |
The button that goes back from an editor to the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterSection |
A section of an editor. Classes given here are merged with the theme classes of the slot. |
FilterRange |
The container of the inputs of a range filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The slider of a number range filter. Classes given here are merged with the theme classes of the slot. |
FilterPresets |
The group of preset buttons of a date filter editor. Classes given here are merged with the theme classes of the slot. |
FilterHint |
The line that reads back the range of a filter. Classes given here are merged with the theme classes of the slot. |
Filter |
Added to the popover of an editor that needs more room. Classes given here are merged with the theme classes of the slot. |
FilterPanel |
The root of KlyDataListFilterPanel`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The header of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelTitle |
The title of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelCount |
The count of active filters in the header of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The line under the title of the filter panel. Classes given here are merged with the theme classes of the slot. |
Filter |
One collapsible section of the filter panel, one per filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The button that opens or closes a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The content of a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The editor inside a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The footer of the panel that holds the Apply and Reset buttons. Classes given here are merged with the theme classes of the slot. |
FilterPanelEmpty |
The text shown when the schema has no filters. Classes given here are merged with the theme classes of the slot. |
Filter |
A native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The label of a native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The live region that announces the number of results. Classes given here are merged with the theme classes of the slot. |
SelectCell |
The cell of the selection checkbox column, header and body. Classes given here are merged with the theme classes of the slot. |
RowSelected |
Added to a row while it is ticked. Classes given here are merged with the theme classes of the slot. |
SelectionActions |
The root of KlyDataListSelectionActions`1 . Classes given here are merged with the theme classes of the slot. |
SelectionBar |
The bar that shows the selection count and the bulk actions. Classes given here are merged with the theme classes of the slot. |
SelectionCount |
The text that gives the number of selected rows. Classes given here are merged with the theme classes of the slot. |
SelectionLive |
The live region that announces the selection to assistive technologies. Classes given here are merged with the theme classes of the slot. |
SelectionScope |
The buttons that switch between the ticked rows and every result. Classes given here are merged with the theme classes of the slot. |
SelectionGroup |
The group of action buttons in the selection bar. Classes given here are merged with the theme classes of the slot. |
ActionsDropdown |
The trigger button of KlyDataListActionsDropdown`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsCell |
The cell of the row actions column, header and body. Classes given here are merged with the theme classes of the slot. |
RowActions |
The root of KlyDataListRowActions`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsInline |
The inline buttons of the row actions. Classes given here are merged with the theme classes of the slot. |
RowActionsMenu |
The menu of the row actions that do not fit inline. Classes given here are merged with the theme classes of the slot. |
RowActionsPhone |
The single button that opens the row actions sheet on a phone. Classes given here are merged with the theme classes of the slot. |
SheetList |
The list of actions inside the phone sheet. Classes given here are merged with the theme classes of the slot. |
SheetDivider |
The divider between groups of actions in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetEntry |
One entry of the sheet. Classes given here are merged with the theme classes of the slot. |
SheetHeading |
The heading of a submenu in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetItem |
The button or link of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetReason |
The text that says why an action is disabled, in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetIcon |
The icon of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
InfiniteLoader |
The root of KlyDataListInfiniteLoader`1 . Classes given here are merged with the theme classes of the slot. |
LoadMoreError |
The block shown when loading the next page failed. Classes given here are merged with the theme classes of the slot. |
Load |
The message inside that block. Classes given here are merged with the theme classes of the slot. |
CursorReset |
The button that goes back to the first rows when a cursor in the address matches nothing. Classes given here are merged with the theme classes of the slot. |
InfiniteEnd |
The text shown after the last page has loaded. Classes given here are merged with the theme classes of the slot. |
InfiniteStatus |
The live region of the Load more button. Classes given here are merged with the theme classes of the slot. |
ThPinnedStart |
Added to a header cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
ThPinnedEnd |
Added to a header cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedStart |
Added to a body cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedEnd |
Added to a body cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
ColResize |
The resize handle at the end edge of a header cell. Classes given here are merged with the theme classes of the slot. |
ColumnsPanel |
The root of KlyDataListColumnPanel`1 . Classes given here are merged with the theme classes of the slot. |
ColumnsPopover |
The popover of the columns panel. Classes given here are merged with the theme classes of the slot. |
ColumnsContent |
The content of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsHeader |
The header of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsTitle |
The title of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsCount |
The count of visible columns in the header of the popover. Classes given here are merged with the theme classes of the slot. |
ColumnsList |
The list of columns. Classes given here are merged with the theme classes of the slot. |
ColumnsItem |
One column of the list. Classes given here are merged with the theme classes of the slot. |
ColumnsLabel |
The label of a column, with its checkbox. Classes given here are merged with the theme classes of the slot. |
ColumnsActions |
The pin and move controls of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsIconBtn |
An icon button of the panel. Classes given here are merged with the theme classes of the slot. |
Columns |
Added to an icon button that is on, such as a pinned column. Classes given here are merged with the theme classes of the slot. |
ColSized |
Added to the cells of a column that has a fixed width. Classes given here are merged with the theme classes of the slot. |
ColumnsAll |
The row with the show all and reset buttons. Classes given here are merged with the theme classes of the slot. |
ColumnsHint |
The hint that says one column must stay visible. Classes given here are merged with the theme classes of the slot. |
ColumnsGrip |
The drag grip of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsLive |
The live region that announces column changes. Classes given here are merged with the theme classes of the slot. |
ColumnsPinGroup |
The group of pin buttons of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsSearch |
The search field of the panel. Classes given here are merged with the theme classes of the slot. |
SortMenu |
The trigger button of KlyDataListSortMenu`1 . Classes given here are merged with the theme classes of the slot. |
SortMenuPopover |
The popover of the sort menu. Classes given here are merged with the theme classes of the slot. |
SortMenuContent |
The content of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuHeader |
The header of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuTitle |
The title of the sort popover. Classes given here are merged with the theme classes of the slot. |
Sort |
The group of the ascending and descending buttons. Classes given here are merged with the theme classes of the slot. |
Sort |
One direction button. Classes given here are merged with the theme classes of the slot. |
SortMenuList |
The list of sortable fields. Classes given here are merged with the theme classes of the slot. |
SortMenuItem |
One sortable field of the list. Classes given here are merged with the theme classes of the slot. |
LayoutSwitch |
The root of KlyDataListLayoutSwitch`1 . Classes given here are merged with the theme classes of the slot. |
LayoutOption |
One button of the layout switch. Classes given here are merged with the theme classes of the slot. |
GridRoot |
The root of KlyDataListGrid`1 . Classes given here are merged with the theme classes of the slot. |
GridHeader |
The header row of the grid that holds the select all box. Classes given here are merged with the theme classes of the slot. |
Grid |
The container of the cards. Classes given here are merged with the theme classes of the slot. |
GridCard |
One card. Classes given here are merged with the theme classes of the slot. |
GridCardTop |
The top of a card: selection box and row actions. Classes given here are merged with the theme classes of the slot. |
GridCardBody |
The body of a card. Classes given here are merged with the theme classes of the slot. |
GridCardFields |
The list of fields of a card. Classes given here are merged with the theme classes of the slot. |
GridCardField |
One field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The label of a field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The value of a field of a card. Classes given here are merged with the theme classes of the slot. |
GridEmpty |
The container of the empty state of the grid. Classes given here are merged with the theme classes of the slot. |
ViewToggle |
The button of KlyDataListViewToggle`1 . Classes given here are merged with the theme classes of the slot. |
SummaryHeader |
The header of the summary row list that holds the select all box. Classes given here are merged with the theme classes of the slot. |
SummaryList |
The list of summary rows. Classes given here are merged with the theme classes of the slot. |
SummaryRow |
One summary row. Classes given here are merged with the theme classes of the slot. |
SummaryLeading |
The leading content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryBody |
The text block of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitle |
The title of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitleLink |
The title of a summary row when it is a link. Classes given here are merged with the theme classes of the slot. |
Summary |
The title of a summary row when it is a button. Classes given here are merged with the theme classes of the slot. |
SummaryMeta |
The second line of a summary row: status and details. Classes given here are merged with the theme classes of the slot. |
SummaryStatus |
The status content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryDetails |
The details text of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryActions |
The row actions of a summary row. Classes given here are merged with the theme classes of the slot. |
GroupRow |
The group header row of the table. Classes given here are merged with the theme classes of the slot. |
GroupCell |
The cell of a group header row. Classes given here are merged with the theme classes of the slot. |
SummaryGroupRow |
The group header in the summary row list. Classes given here are merged with the theme classes of the slot. |
GridGroup |
The container of one group of cards. Classes given here are merged with the theme classes of the slot. |
GridGroupHeader |
The header of one group of cards. Classes given here are merged with the theme classes of the slot. |
GroupHeader |
The root of KlyDataListGroupHeader`1 . Classes given here are merged with the theme classes of the slot. |
GroupToggle |
The fold button of a group header. Classes given here are merged with the theme classes of the slot. |
GroupChevron |
The chevron of the fold button. Classes given here are merged with the theme classes of the slot. |
Group |
Added to the chevron while the group is open. Classes given here are merged with the theme classes of the slot. |
GroupLabel |
The label of a group. Classes given here are merged with the theme classes of the slot. |
GroupSummary |
The summary badge beside the label of a group. Classes given here are merged with the theme classes of the slot. |
TreeCell |
The cell that holds the tree rails, the toggle and the content. Classes given here are merged with the theme classes of the slot. |
TreeRailBlank |
A rail segment with no line. Classes given here are merged with the theme classes of the slot. |
TreeRailPass |
A rail segment with a vertical line that continues to the next sibling of an ancestor. Classes given here are merged with the theme classes of the slot. |
TreeRailBranch |
A rail segment with a branch to a node that has later siblings. Classes given here are merged with the theme classes of the slot. |
TreeRailLast |
A rail segment with a branch to the last node of its level. Classes given here are merged with the theme classes of the slot. |
TreeToggle |
The expand and collapse button of a branch node. Classes given here are merged with the theme classes of the slot. |
TreeChevron |
The chevron of the toggle. Classes given here are merged with the theme classes of the slot. |
Tree |
Added to the chevron while the node is open. Classes given here are merged with the theme classes of the slot. |
TreeSpacer |
The spacer that takes the place of the toggle on a leaf node. Classes given here are merged with the theme classes of the slot. |
TreeContent |
The cell content next to the toggle. Classes given here are merged with the theme classes of the slot. |
Tfoot |
The table footer section that holds the summary rows. Classes given here are merged with the theme classes of the slot. |
TfootRow |
A summary row of the footer. Classes given here are merged with the theme classes of the slot. |
TfootCell |
A cell of a summary row. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TfootLabel |
The label of a summary row. Classes given here are merged with the theme classes of the slot. |
ProgressLine |
The progress indicator drawn at the top of the table while rows reload. Classes given here are merged with the theme classes of the slot. |
ProgressLineBar |
The moving bar inside the progress indicator. Classes given here are merged with the theme classes of the slot. |
HeaderCell |
The content wrapper of a header cell. Classes given here are merged with the theme classes of the slot. |
HeaderMenu |
The wrapper of the header menu of a column. Classes given here are merged with the theme classes of the slot. |
Header |
The button that opens the header menu of a column. Classes given here are merged with the theme classes of the slot. |
KlyDataListActionsDropdown<TItem>
The toolbar actions of a list (export, import, a new row) as a menu behind one button. They do not need a selection; an action that wants one reads it from its context.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Actions |
IReadOnlyList |
The actions, in the order they are shown. | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Icon |
string |
"ellipsis" |
The name of the icon of the button ( ellipsis by default). |
Label |
string |
The label of the button that opens the menu. Without it the localized "Actions". | |
Ui |
DataListUi |
Per-instance classes for each slot. |
Events
| Name | Type | Description |
|---|---|---|
OnError |
EventCallback |
Raised when an action throws; the part keeps the selection, does not refresh the list and does not rethrow. Without a handler the failure is logged. |
Ui slots
Ui takes a DataListUi with one class string per slot, merged after the theme.
| Slot | Styles |
|---|---|
Root |
The outer element of the list. Classes given here are merged with the theme classes of the slot. |
Toolbar |
The row that holds the search field, the result count and the refresh button in the default layout. Classes given here are merged with the theme classes of the slot. |
Search |
The search form of KlyDataListSearch`1 . Classes given here are merged with the theme classes of the slot. |
SearchField |
The wrapper around the search input and its clear button. Classes given here are merged with the theme classes of the slot. |
SearchInput |
The search input. Classes given here are merged with the theme classes of the slot. |
SearchClear |
The button that clears the search text. Classes given here are merged with the theme classes of the slot. |
SearchClearIcon |
The icon of the clear button of the search field. Classes given here are merged with the theme classes of the slot. |
SearchSubmit |
The submit button of the search form, shown in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
ResultCount |
The text that gives the number of results. Classes given here are merged with the theme classes of the slot. |
Refresh |
The refresh button of KlyDataListRefresh`1 . Classes given here are merged with the theme classes of the slot. |
RefreshIcon |
The icon of the refresh button. Classes given here are merged with the theme classes of the slot. |
TableRoot |
The scrolling region around the table. Classes given here are merged with the theme classes of the slot. |
Table |
The table element. Classes given here are merged with the theme classes of the slot. |
Caption |
The visually hidden caption of the table. Classes given here are merged with the theme classes of the slot. |
Thead |
The table header section. Classes given here are merged with the theme classes of the slot. |
Tr |
A table row. Classes given here are merged with the theme classes of the slot. |
Th |
A header cell. Classes given here are merged with the theme classes of the slot. |
SortButton |
The button of a header cell that sorts by its column. Classes given here are merged with the theme classes of the slot. |
SortIcon |
The sort direction icon of a header cell. Classes given here are merged with the theme classes of the slot. |
Tbody |
The table body. Classes given here are merged with the theme classes of the slot. |
Td |
A body cell. Classes given here are merged with the theme classes of the slot. |
Empty |
The cell that holds the empty state of the table. Classes given here are merged with the theme classes of the slot. |
Skeleton |
A placeholder bar shown in a cell while the first rows load. Classes given here are merged with the theme classes of the slot. |
Pagination |
The container of KlyDataListPagination`1 . Classes given here are merged with the theme classes of the slot. |
PageSize |
The page size picker with its label. Classes given here are merged with the theme classes of the slot. |
PageSizeLabel |
The label of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeSelect |
The select of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeForm |
The form around the page size picker in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
Error |
The error state shown when a load failed. Classes given here are merged with the theme classes of the slot. |
Filters |
The container of the filter tags and of the add and clear buttons. Classes given here are merged with the theme classes of the slot. |
FilterTags |
The list of filter tags. Classes given here are merged with the theme classes of the slot. |
FilterTag |
One filter tag. Classes given here are merged with the theme classes of the slot. |
FilterTagButton |
The button of a filter tag that opens its editor. Classes given here are merged with the theme classes of the slot. |
FilterTagLabel |
The name of the filter inside a tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The operator text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagValue |
The value text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagRemove |
The button that removes a filter from its tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The icon of the remove button of a tag. Classes given here are merged with the theme classes of the slot. |
AddFilter |
The add filter button of KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
ClearFilters |
The clear filters button of KlyDataListClearFilters`1 . Classes given here are merged with the theme classes of the slot. |
FilterPopover |
The popover that holds a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterEditor |
The root of KlyDataListFilterEditor`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The name of the filter above its editor. Classes given here are merged with the theme classes of the slot. |
FilterField |
A labelled field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterFieldLabel |
The label of a field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOperator |
The operator select of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterInput |
The value input of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptions |
The list of options of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOption |
One option of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptionLink |
The link of an option in a statically rendered editor. Classes given here are merged with the theme classes of the slot. |
Filter |
The count shown next to an option when its filter has facets. Classes given here are merged with the theme classes of the slot. |
Filter |
The checkbox of an option. Classes given here are merged with the theme classes of the slot. |
FilterEmpty |
The text shown when an option filter has no options. Classes given here are merged with the theme classes of the slot. |
FilterActions |
The row of Apply, Cancel and Reset buttons of an editor. Classes given here are merged with the theme classes of the slot. |
FilterChoices |
The group of operator choices of an editor. Classes given here are merged with the theme classes of the slot. |
FilterMenu |
The menu that lists the filters in KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
FilterMenuItem |
One entry of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterMenuHeader |
The header of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterBack |
The button that goes back from an editor to the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterSection |
A section of an editor. Classes given here are merged with the theme classes of the slot. |
FilterRange |
The container of the inputs of a range filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The slider of a number range filter. Classes given here are merged with the theme classes of the slot. |
FilterPresets |
The group of preset buttons of a date filter editor. Classes given here are merged with the theme classes of the slot. |
FilterHint |
The line that reads back the range of a filter. Classes given here are merged with the theme classes of the slot. |
Filter |
Added to the popover of an editor that needs more room. Classes given here are merged with the theme classes of the slot. |
FilterPanel |
The root of KlyDataListFilterPanel`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The header of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelTitle |
The title of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelCount |
The count of active filters in the header of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The line under the title of the filter panel. Classes given here are merged with the theme classes of the slot. |
Filter |
One collapsible section of the filter panel, one per filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The button that opens or closes a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The content of a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The editor inside a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The footer of the panel that holds the Apply and Reset buttons. Classes given here are merged with the theme classes of the slot. |
FilterPanelEmpty |
The text shown when the schema has no filters. Classes given here are merged with the theme classes of the slot. |
Filter |
A native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The label of a native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The live region that announces the number of results. Classes given here are merged with the theme classes of the slot. |
SelectCell |
The cell of the selection checkbox column, header and body. Classes given here are merged with the theme classes of the slot. |
RowSelected |
Added to a row while it is ticked. Classes given here are merged with the theme classes of the slot. |
SelectionActions |
The root of KlyDataListSelectionActions`1 . Classes given here are merged with the theme classes of the slot. |
SelectionBar |
The bar that shows the selection count and the bulk actions. Classes given here are merged with the theme classes of the slot. |
SelectionCount |
The text that gives the number of selected rows. Classes given here are merged with the theme classes of the slot. |
SelectionLive |
The live region that announces the selection to assistive technologies. Classes given here are merged with the theme classes of the slot. |
SelectionScope |
The buttons that switch between the ticked rows and every result. Classes given here are merged with the theme classes of the slot. |
SelectionGroup |
The group of action buttons in the selection bar. Classes given here are merged with the theme classes of the slot. |
ActionsDropdown |
The trigger button of KlyDataListActionsDropdown`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsCell |
The cell of the row actions column, header and body. Classes given here are merged with the theme classes of the slot. |
RowActions |
The root of KlyDataListRowActions`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsInline |
The inline buttons of the row actions. Classes given here are merged with the theme classes of the slot. |
RowActionsMenu |
The menu of the row actions that do not fit inline. Classes given here are merged with the theme classes of the slot. |
RowActionsPhone |
The single button that opens the row actions sheet on a phone. Classes given here are merged with the theme classes of the slot. |
SheetList |
The list of actions inside the phone sheet. Classes given here are merged with the theme classes of the slot. |
SheetDivider |
The divider between groups of actions in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetEntry |
One entry of the sheet. Classes given here are merged with the theme classes of the slot. |
SheetHeading |
The heading of a submenu in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetItem |
The button or link of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetReason |
The text that says why an action is disabled, in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetIcon |
The icon of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
InfiniteLoader |
The root of KlyDataListInfiniteLoader`1 . Classes given here are merged with the theme classes of the slot. |
LoadMoreError |
The block shown when loading the next page failed. Classes given here are merged with the theme classes of the slot. |
Load |
The message inside that block. Classes given here are merged with the theme classes of the slot. |
CursorReset |
The button that goes back to the first rows when a cursor in the address matches nothing. Classes given here are merged with the theme classes of the slot. |
InfiniteEnd |
The text shown after the last page has loaded. Classes given here are merged with the theme classes of the slot. |
InfiniteStatus |
The live region of the Load more button. Classes given here are merged with the theme classes of the slot. |
ThPinnedStart |
Added to a header cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
ThPinnedEnd |
Added to a header cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedStart |
Added to a body cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedEnd |
Added to a body cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
ColResize |
The resize handle at the end edge of a header cell. Classes given here are merged with the theme classes of the slot. |
ColumnsPanel |
The root of KlyDataListColumnPanel`1 . Classes given here are merged with the theme classes of the slot. |
ColumnsPopover |
The popover of the columns panel. Classes given here are merged with the theme classes of the slot. |
ColumnsContent |
The content of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsHeader |
The header of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsTitle |
The title of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsCount |
The count of visible columns in the header of the popover. Classes given here are merged with the theme classes of the slot. |
ColumnsList |
The list of columns. Classes given here are merged with the theme classes of the slot. |
ColumnsItem |
One column of the list. Classes given here are merged with the theme classes of the slot. |
ColumnsLabel |
The label of a column, with its checkbox. Classes given here are merged with the theme classes of the slot. |
ColumnsActions |
The pin and move controls of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsIconBtn |
An icon button of the panel. Classes given here are merged with the theme classes of the slot. |
Columns |
Added to an icon button that is on, such as a pinned column. Classes given here are merged with the theme classes of the slot. |
ColSized |
Added to the cells of a column that has a fixed width. Classes given here are merged with the theme classes of the slot. |
ColumnsAll |
The row with the show all and reset buttons. Classes given here are merged with the theme classes of the slot. |
ColumnsHint |
The hint that says one column must stay visible. Classes given here are merged with the theme classes of the slot. |
ColumnsGrip |
The drag grip of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsLive |
The live region that announces column changes. Classes given here are merged with the theme classes of the slot. |
ColumnsPinGroup |
The group of pin buttons of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsSearch |
The search field of the panel. Classes given here are merged with the theme classes of the slot. |
SortMenu |
The trigger button of KlyDataListSortMenu`1 . Classes given here are merged with the theme classes of the slot. |
SortMenuPopover |
The popover of the sort menu. Classes given here are merged with the theme classes of the slot. |
SortMenuContent |
The content of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuHeader |
The header of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuTitle |
The title of the sort popover. Classes given here are merged with the theme classes of the slot. |
Sort |
The group of the ascending and descending buttons. Classes given here are merged with the theme classes of the slot. |
Sort |
One direction button. Classes given here are merged with the theme classes of the slot. |
SortMenuList |
The list of sortable fields. Classes given here are merged with the theme classes of the slot. |
SortMenuItem |
One sortable field of the list. Classes given here are merged with the theme classes of the slot. |
LayoutSwitch |
The root of KlyDataListLayoutSwitch`1 . Classes given here are merged with the theme classes of the slot. |
LayoutOption |
One button of the layout switch. Classes given here are merged with the theme classes of the slot. |
GridRoot |
The root of KlyDataListGrid`1 . Classes given here are merged with the theme classes of the slot. |
GridHeader |
The header row of the grid that holds the select all box. Classes given here are merged with the theme classes of the slot. |
Grid |
The container of the cards. Classes given here are merged with the theme classes of the slot. |
GridCard |
One card. Classes given here are merged with the theme classes of the slot. |
GridCardTop |
The top of a card: selection box and row actions. Classes given here are merged with the theme classes of the slot. |
GridCardBody |
The body of a card. Classes given here are merged with the theme classes of the slot. |
GridCardFields |
The list of fields of a card. Classes given here are merged with the theme classes of the slot. |
GridCardField |
One field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The label of a field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The value of a field of a card. Classes given here are merged with the theme classes of the slot. |
GridEmpty |
The container of the empty state of the grid. Classes given here are merged with the theme classes of the slot. |
ViewToggle |
The button of KlyDataListViewToggle`1 . Classes given here are merged with the theme classes of the slot. |
SummaryHeader |
The header of the summary row list that holds the select all box. Classes given here are merged with the theme classes of the slot. |
SummaryList |
The list of summary rows. Classes given here are merged with the theme classes of the slot. |
SummaryRow |
One summary row. Classes given here are merged with the theme classes of the slot. |
SummaryLeading |
The leading content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryBody |
The text block of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitle |
The title of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitleLink |
The title of a summary row when it is a link. Classes given here are merged with the theme classes of the slot. |
Summary |
The title of a summary row when it is a button. Classes given here are merged with the theme classes of the slot. |
SummaryMeta |
The second line of a summary row: status and details. Classes given here are merged with the theme classes of the slot. |
SummaryStatus |
The status content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryDetails |
The details text of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryActions |
The row actions of a summary row. Classes given here are merged with the theme classes of the slot. |
GroupRow |
The group header row of the table. Classes given here are merged with the theme classes of the slot. |
GroupCell |
The cell of a group header row. Classes given here are merged with the theme classes of the slot. |
SummaryGroupRow |
The group header in the summary row list. Classes given here are merged with the theme classes of the slot. |
GridGroup |
The container of one group of cards. Classes given here are merged with the theme classes of the slot. |
GridGroupHeader |
The header of one group of cards. Classes given here are merged with the theme classes of the slot. |
GroupHeader |
The root of KlyDataListGroupHeader`1 . Classes given here are merged with the theme classes of the slot. |
GroupToggle |
The fold button of a group header. Classes given here are merged with the theme classes of the slot. |
GroupChevron |
The chevron of the fold button. Classes given here are merged with the theme classes of the slot. |
Group |
Added to the chevron while the group is open. Classes given here are merged with the theme classes of the slot. |
GroupLabel |
The label of a group. Classes given here are merged with the theme classes of the slot. |
GroupSummary |
The summary badge beside the label of a group. Classes given here are merged with the theme classes of the slot. |
TreeCell |
The cell that holds the tree rails, the toggle and the content. Classes given here are merged with the theme classes of the slot. |
TreeRailBlank |
A rail segment with no line. Classes given here are merged with the theme classes of the slot. |
TreeRailPass |
A rail segment with a vertical line that continues to the next sibling of an ancestor. Classes given here are merged with the theme classes of the slot. |
TreeRailBranch |
A rail segment with a branch to a node that has later siblings. Classes given here are merged with the theme classes of the slot. |
TreeRailLast |
A rail segment with a branch to the last node of its level. Classes given here are merged with the theme classes of the slot. |
TreeToggle |
The expand and collapse button of a branch node. Classes given here are merged with the theme classes of the slot. |
TreeChevron |
The chevron of the toggle. Classes given here are merged with the theme classes of the slot. |
Tree |
Added to the chevron while the node is open. Classes given here are merged with the theme classes of the slot. |
TreeSpacer |
The spacer that takes the place of the toggle on a leaf node. Classes given here are merged with the theme classes of the slot. |
TreeContent |
The cell content next to the toggle. Classes given here are merged with the theme classes of the slot. |
Tfoot |
The table footer section that holds the summary rows. Classes given here are merged with the theme classes of the slot. |
TfootRow |
A summary row of the footer. Classes given here are merged with the theme classes of the slot. |
TfootCell |
A cell of a summary row. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TfootLabel |
The label of a summary row. Classes given here are merged with the theme classes of the slot. |
ProgressLine |
The progress indicator drawn at the top of the table while rows reload. Classes given here are merged with the theme classes of the slot. |
ProgressLineBar |
The moving bar inside the progress indicator. Classes given here are merged with the theme classes of the slot. |
HeaderCell |
The content wrapper of a header cell. Classes given here are merged with the theme classes of the slot. |
HeaderMenu |
The wrapper of the header menu of a column. Classes given here are merged with the theme classes of the slot. |
Header |
The button that opens the header menu of a column. Classes given here are merged with the theme classes of the slot. |
KlyDataListRowActions<TItem>
The actions of one row: buttons up to MaxVisible , then a menu, and below the md breakpoint one button that opens a sheet. The table and the grid place it for you when they have RowActions ; use it directly in a template of your own.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Actions |
IReadOnlyList |
The actions, in the order they are shown. Their keys are unique, children included. | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Item (required) |
TItem |
The row. | |
MaxVisible |
int |
3 |
How many actions show as buttons on a wide screen; the others go into a menu (3 by default). 0 puts them all behind one button. Below the md breakpoint every action is in a sheet. |
Position |
int |
0 |
The place of the row on the page, from 1: it names the actions of a row that has no RowLabel in the schema. |
Size |
KlySize |
KlySize. |
The size of the buttons. Values: Xs, Sm, Md, Lg, Xl. |
Ui |
DataListUi |
Per-instance classes for each slot. |
Events
| Name | Type | Description |
|---|---|---|
OnError |
EventCallback |
Raised when an action threw or reported a failure; the list is not refreshed and nothing is rethrown. Without a handler an exception is logged. |
Ui slots
Ui takes a DataListUi with one class string per slot, merged after the theme.
| Slot | Styles |
|---|---|
Root |
The outer element of the list. Classes given here are merged with the theme classes of the slot. |
Toolbar |
The row that holds the search field, the result count and the refresh button in the default layout. Classes given here are merged with the theme classes of the slot. |
Search |
The search form of KlyDataListSearch`1 . Classes given here are merged with the theme classes of the slot. |
SearchField |
The wrapper around the search input and its clear button. Classes given here are merged with the theme classes of the slot. |
SearchInput |
The search input. Classes given here are merged with the theme classes of the slot. |
SearchClear |
The button that clears the search text. Classes given here are merged with the theme classes of the slot. |
SearchClearIcon |
The icon of the clear button of the search field. Classes given here are merged with the theme classes of the slot. |
SearchSubmit |
The submit button of the search form, shown in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
ResultCount |
The text that gives the number of results. Classes given here are merged with the theme classes of the slot. |
Refresh |
The refresh button of KlyDataListRefresh`1 . Classes given here are merged with the theme classes of the slot. |
RefreshIcon |
The icon of the refresh button. Classes given here are merged with the theme classes of the slot. |
TableRoot |
The scrolling region around the table. Classes given here are merged with the theme classes of the slot. |
Table |
The table element. Classes given here are merged with the theme classes of the slot. |
Caption |
The visually hidden caption of the table. Classes given here are merged with the theme classes of the slot. |
Thead |
The table header section. Classes given here are merged with the theme classes of the slot. |
Tr |
A table row. Classes given here are merged with the theme classes of the slot. |
Th |
A header cell. Classes given here are merged with the theme classes of the slot. |
SortButton |
The button of a header cell that sorts by its column. Classes given here are merged with the theme classes of the slot. |
SortIcon |
The sort direction icon of a header cell. Classes given here are merged with the theme classes of the slot. |
Tbody |
The table body. Classes given here are merged with the theme classes of the slot. |
Td |
A body cell. Classes given here are merged with the theme classes of the slot. |
Empty |
The cell that holds the empty state of the table. Classes given here are merged with the theme classes of the slot. |
Skeleton |
A placeholder bar shown in a cell while the first rows load. Classes given here are merged with the theme classes of the slot. |
Pagination |
The container of KlyDataListPagination`1 . Classes given here are merged with the theme classes of the slot. |
PageSize |
The page size picker with its label. Classes given here are merged with the theme classes of the slot. |
PageSizeLabel |
The label of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeSelect |
The select of the page size picker. Classes given here are merged with the theme classes of the slot. |
PageSizeForm |
The form around the page size picker in a statically rendered list. Classes given here are merged with the theme classes of the slot. |
Error |
The error state shown when a load failed. Classes given here are merged with the theme classes of the slot. |
Filters |
The container of the filter tags and of the add and clear buttons. Classes given here are merged with the theme classes of the slot. |
FilterTags |
The list of filter tags. Classes given here are merged with the theme classes of the slot. |
FilterTag |
One filter tag. Classes given here are merged with the theme classes of the slot. |
FilterTagButton |
The button of a filter tag that opens its editor. Classes given here are merged with the theme classes of the slot. |
FilterTagLabel |
The name of the filter inside a tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The operator text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagValue |
The value text inside a tag. Classes given here are merged with the theme classes of the slot. |
FilterTagRemove |
The button that removes a filter from its tag. Classes given here are merged with the theme classes of the slot. |
Filter |
The icon of the remove button of a tag. Classes given here are merged with the theme classes of the slot. |
AddFilter |
The add filter button of KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
ClearFilters |
The clear filters button of KlyDataListClearFilters`1 . Classes given here are merged with the theme classes of the slot. |
FilterPopover |
The popover that holds a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterEditor |
The root of KlyDataListFilterEditor`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The name of the filter above its editor. Classes given here are merged with the theme classes of the slot. |
FilterField |
A labelled field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterFieldLabel |
The label of a field inside a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOperator |
The operator select of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterInput |
The value input of a filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptions |
The list of options of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOption |
One option of an option filter editor. Classes given here are merged with the theme classes of the slot. |
FilterOptionLink |
The link of an option in a statically rendered editor. Classes given here are merged with the theme classes of the slot. |
Filter |
The count shown next to an option when its filter has facets. Classes given here are merged with the theme classes of the slot. |
Filter |
The checkbox of an option. Classes given here are merged with the theme classes of the slot. |
FilterEmpty |
The text shown when an option filter has no options. Classes given here are merged with the theme classes of the slot. |
FilterActions |
The row of Apply, Cancel and Reset buttons of an editor. Classes given here are merged with the theme classes of the slot. |
FilterChoices |
The group of operator choices of an editor. Classes given here are merged with the theme classes of the slot. |
FilterMenu |
The menu that lists the filters in KlyDataListAddFilter`1 . Classes given here are merged with the theme classes of the slot. |
FilterMenuItem |
One entry of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterMenuHeader |
The header of the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterBack |
The button that goes back from an editor to the add filter menu. Classes given here are merged with the theme classes of the slot. |
FilterSection |
A section of an editor. Classes given here are merged with the theme classes of the slot. |
FilterRange |
The container of the inputs of a range filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The slider of a number range filter. Classes given here are merged with the theme classes of the slot. |
FilterPresets |
The group of preset buttons of a date filter editor. Classes given here are merged with the theme classes of the slot. |
FilterHint |
The line that reads back the range of a filter. Classes given here are merged with the theme classes of the slot. |
Filter |
Added to the popover of an editor that needs more room. Classes given here are merged with the theme classes of the slot. |
FilterPanel |
The root of KlyDataListFilterPanel`1 . Classes given here are merged with the theme classes of the slot. |
Filter |
The header of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelTitle |
The title of the filter panel. Classes given here are merged with the theme classes of the slot. |
FilterPanelCount |
The count of active filters in the header of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The line under the title of the filter panel. Classes given here are merged with the theme classes of the slot. |
Filter |
One collapsible section of the filter panel, one per filter. Classes given here are merged with the theme classes of the slot. |
Filter |
The button that opens or closes a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The content of a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The editor inside a section of the panel. Classes given here are merged with the theme classes of the slot. |
Filter |
The footer of the panel that holds the Apply and Reset buttons. Classes given here are merged with the theme classes of the slot. |
FilterPanelEmpty |
The text shown when the schema has no filters. Classes given here are merged with the theme classes of the slot. |
Filter |
A native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The label of a native input of the statically rendered filter forms. Classes given here are merged with the theme classes of the slot. |
Filter |
The live region that announces the number of results. Classes given here are merged with the theme classes of the slot. |
SelectCell |
The cell of the selection checkbox column, header and body. Classes given here are merged with the theme classes of the slot. |
RowSelected |
Added to a row while it is ticked. Classes given here are merged with the theme classes of the slot. |
SelectionActions |
The root of KlyDataListSelectionActions`1 . Classes given here are merged with the theme classes of the slot. |
SelectionBar |
The bar that shows the selection count and the bulk actions. Classes given here are merged with the theme classes of the slot. |
SelectionCount |
The text that gives the number of selected rows. Classes given here are merged with the theme classes of the slot. |
SelectionLive |
The live region that announces the selection to assistive technologies. Classes given here are merged with the theme classes of the slot. |
SelectionScope |
The buttons that switch between the ticked rows and every result. Classes given here are merged with the theme classes of the slot. |
SelectionGroup |
The group of action buttons in the selection bar. Classes given here are merged with the theme classes of the slot. |
ActionsDropdown |
The trigger button of KlyDataListActionsDropdown`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsCell |
The cell of the row actions column, header and body. Classes given here are merged with the theme classes of the slot. |
RowActions |
The root of KlyDataListRowActions`1 . Classes given here are merged with the theme classes of the slot. |
RowActionsInline |
The inline buttons of the row actions. Classes given here are merged with the theme classes of the slot. |
RowActionsMenu |
The menu of the row actions that do not fit inline. Classes given here are merged with the theme classes of the slot. |
RowActionsPhone |
The single button that opens the row actions sheet on a phone. Classes given here are merged with the theme classes of the slot. |
SheetList |
The list of actions inside the phone sheet. Classes given here are merged with the theme classes of the slot. |
SheetDivider |
The divider between groups of actions in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetEntry |
One entry of the sheet. Classes given here are merged with the theme classes of the slot. |
SheetHeading |
The heading of a submenu in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetItem |
The button or link of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetReason |
The text that says why an action is disabled, in the sheet. Classes given here are merged with the theme classes of the slot. |
SheetIcon |
The icon of an action in the sheet. Classes given here are merged with the theme classes of the slot. |
InfiniteLoader |
The root of KlyDataListInfiniteLoader`1 . Classes given here are merged with the theme classes of the slot. |
LoadMoreError |
The block shown when loading the next page failed. Classes given here are merged with the theme classes of the slot. |
Load |
The message inside that block. Classes given here are merged with the theme classes of the slot. |
CursorReset |
The button that goes back to the first rows when a cursor in the address matches nothing. Classes given here are merged with the theme classes of the slot. |
InfiniteEnd |
The text shown after the last page has loaded. Classes given here are merged with the theme classes of the slot. |
InfiniteStatus |
The live region of the Load more button. Classes given here are merged with the theme classes of the slot. |
ThPinnedStart |
Added to a header cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
ThPinnedEnd |
Added to a header cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedStart |
Added to a body cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
TdPinnedEnd |
Added to a body cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
ColResize |
The resize handle at the end edge of a header cell. Classes given here are merged with the theme classes of the slot. |
ColumnsPanel |
The root of KlyDataListColumnPanel`1 . Classes given here are merged with the theme classes of the slot. |
ColumnsPopover |
The popover of the columns panel. Classes given here are merged with the theme classes of the slot. |
ColumnsContent |
The content of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsHeader |
The header of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsTitle |
The title of the columns popover. Classes given here are merged with the theme classes of the slot. |
ColumnsCount |
The count of visible columns in the header of the popover. Classes given here are merged with the theme classes of the slot. |
ColumnsList |
The list of columns. Classes given here are merged with the theme classes of the slot. |
ColumnsItem |
One column of the list. Classes given here are merged with the theme classes of the slot. |
ColumnsLabel |
The label of a column, with its checkbox. Classes given here are merged with the theme classes of the slot. |
ColumnsActions |
The pin and move controls of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsIconBtn |
An icon button of the panel. Classes given here are merged with the theme classes of the slot. |
Columns |
Added to an icon button that is on, such as a pinned column. Classes given here are merged with the theme classes of the slot. |
ColSized |
Added to the cells of a column that has a fixed width. Classes given here are merged with the theme classes of the slot. |
ColumnsAll |
The row with the show all and reset buttons. Classes given here are merged with the theme classes of the slot. |
ColumnsHint |
The hint that says one column must stay visible. Classes given here are merged with the theme classes of the slot. |
ColumnsGrip |
The drag grip of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsLive |
The live region that announces column changes. Classes given here are merged with the theme classes of the slot. |
ColumnsPinGroup |
The group of pin buttons of a column. Classes given here are merged with the theme classes of the slot. |
ColumnsSearch |
The search field of the panel. Classes given here are merged with the theme classes of the slot. |
SortMenu |
The trigger button of KlyDataListSortMenu`1 . Classes given here are merged with the theme classes of the slot. |
SortMenuPopover |
The popover of the sort menu. Classes given here are merged with the theme classes of the slot. |
SortMenuContent |
The content of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuHeader |
The header of the sort popover. Classes given here are merged with the theme classes of the slot. |
SortMenuTitle |
The title of the sort popover. Classes given here are merged with the theme classes of the slot. |
Sort |
The group of the ascending and descending buttons. Classes given here are merged with the theme classes of the slot. |
Sort |
One direction button. Classes given here are merged with the theme classes of the slot. |
SortMenuList |
The list of sortable fields. Classes given here are merged with the theme classes of the slot. |
SortMenuItem |
One sortable field of the list. Classes given here are merged with the theme classes of the slot. |
LayoutSwitch |
The root of KlyDataListLayoutSwitch`1 . Classes given here are merged with the theme classes of the slot. |
LayoutOption |
One button of the layout switch. Classes given here are merged with the theme classes of the slot. |
GridRoot |
The root of KlyDataListGrid`1 . Classes given here are merged with the theme classes of the slot. |
GridHeader |
The header row of the grid that holds the select all box. Classes given here are merged with the theme classes of the slot. |
Grid |
The container of the cards. Classes given here are merged with the theme classes of the slot. |
GridCard |
One card. Classes given here are merged with the theme classes of the slot. |
GridCardTop |
The top of a card: selection box and row actions. Classes given here are merged with the theme classes of the slot. |
GridCardBody |
The body of a card. Classes given here are merged with the theme classes of the slot. |
GridCardFields |
The list of fields of a card. Classes given here are merged with the theme classes of the slot. |
GridCardField |
One field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The label of a field of a card. Classes given here are merged with the theme classes of the slot. |
Grid |
The value of a field of a card. Classes given here are merged with the theme classes of the slot. |
GridEmpty |
The container of the empty state of the grid. Classes given here are merged with the theme classes of the slot. |
ViewToggle |
The button of KlyDataListViewToggle`1 . Classes given here are merged with the theme classes of the slot. |
SummaryHeader |
The header of the summary row list that holds the select all box. Classes given here are merged with the theme classes of the slot. |
SummaryList |
The list of summary rows. Classes given here are merged with the theme classes of the slot. |
SummaryRow |
One summary row. Classes given here are merged with the theme classes of the slot. |
SummaryLeading |
The leading content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryBody |
The text block of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitle |
The title of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryTitleLink |
The title of a summary row when it is a link. Classes given here are merged with the theme classes of the slot. |
Summary |
The title of a summary row when it is a button. Classes given here are merged with the theme classes of the slot. |
SummaryMeta |
The second line of a summary row: status and details. Classes given here are merged with the theme classes of the slot. |
SummaryStatus |
The status content of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryDetails |
The details text of a summary row. Classes given here are merged with the theme classes of the slot. |
SummaryActions |
The row actions of a summary row. Classes given here are merged with the theme classes of the slot. |
GroupRow |
The group header row of the table. Classes given here are merged with the theme classes of the slot. |
GroupCell |
The cell of a group header row. Classes given here are merged with the theme classes of the slot. |
SummaryGroupRow |
The group header in the summary row list. Classes given here are merged with the theme classes of the slot. |
GridGroup |
The container of one group of cards. Classes given here are merged with the theme classes of the slot. |
GridGroupHeader |
The header of one group of cards. Classes given here are merged with the theme classes of the slot. |
GroupHeader |
The root of KlyDataListGroupHeader`1 . Classes given here are merged with the theme classes of the slot. |
GroupToggle |
The fold button of a group header. Classes given here are merged with the theme classes of the slot. |
GroupChevron |
The chevron of the fold button. Classes given here are merged with the theme classes of the slot. |
Group |
Added to the chevron while the group is open. Classes given here are merged with the theme classes of the slot. |
GroupLabel |
The label of a group. Classes given here are merged with the theme classes of the slot. |
GroupSummary |
The summary badge beside the label of a group. Classes given here are merged with the theme classes of the slot. |
TreeCell |
The cell that holds the tree rails, the toggle and the content. Classes given here are merged with the theme classes of the slot. |
TreeRailBlank |
A rail segment with no line. Classes given here are merged with the theme classes of the slot. |
TreeRailPass |
A rail segment with a vertical line that continues to the next sibling of an ancestor. Classes given here are merged with the theme classes of the slot. |
TreeRailBranch |
A rail segment with a branch to a node that has later siblings. Classes given here are merged with the theme classes of the slot. |
TreeRailLast |
A rail segment with a branch to the last node of its level. Classes given here are merged with the theme classes of the slot. |
TreeToggle |
The expand and collapse button of a branch node. Classes given here are merged with the theme classes of the slot. |
TreeChevron |
The chevron of the toggle. Classes given here are merged with the theme classes of the slot. |
Tree |
Added to the chevron while the node is open. Classes given here are merged with the theme classes of the slot. |
TreeSpacer |
The spacer that takes the place of the toggle on a leaf node. Classes given here are merged with the theme classes of the slot. |
TreeContent |
The cell content next to the toggle. Classes given here are merged with the theme classes of the slot. |
Tfoot |
The table footer section that holds the summary rows. Classes given here are merged with the theme classes of the slot. |
TfootRow |
A summary row of the footer. Classes given here are merged with the theme classes of the slot. |
TfootCell |
A cell of a summary row. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the start edge. Classes given here are merged with the theme classes of the slot. |
Tfoot |
Added to a footer cell pinned to the end edge. Classes given here are merged with the theme classes of the slot. |
TfootLabel |
The label of a summary row. Classes given here are merged with the theme classes of the slot. |
ProgressLine |
The progress indicator drawn at the top of the table while rows reload. Classes given here are merged with the theme classes of the slot. |
ProgressLineBar |
The moving bar inside the progress indicator. Classes given here are merged with the theme classes of the slot. |
HeaderCell |
The content wrapper of a header cell. Classes given here are merged with the theme classes of the slot. |
HeaderMenu |
The wrapper of the header menu of a column. Classes given here are merged with the theme classes of the slot. |
Header |
The button that opens the header menu of a column. Classes given here are merged with the theme classes of the slot. |