DataListGrid
On this page
Grid layout of cards (KlyDataListGrid), layout switch between Table and Grid views (KlyDataListLayoutSwitch, synced with l=table|grid in the URL), compact phone summary rows (DataListRowSummary) with KlyDataListViewToggle, visual row grouping (DataListGroupBy and KlyDataListGroupHeader), hierarchical tree rows (DataListTree), footer totals and column aggregations (DataListSummaries), and a toolbar sort menu (KlyDataListSortMenu).
Examples
Table, Summary rows, Groups, Tree rows, Footer summaries and Grid views with layout switch, view toggle and sort menu
KlyDataListLayoutSwitch toggles the list between Table view (l=table) and Grid view (l=grid) as a history entry, without querying the source again when the rows are already on screen; statically rendered, its buttons are links. KlyDataListTable and KlyDataListGrid sit side by side in the list and only the active layout renders its body (while the table's columns stay registered for the sort menu and the column panel). KlyDataListGrid renders each row as a card (ItemTemplate, or a default key/value summary of the visible columns), with a select-all header and a checkbox per card when selection is on, per-card RowActions (moving focus to the next card when an action removes its card), placeholder cards on the initial load, and the empty or filtered-empty state. RowSummary of KlyDataListTable defines a compact summary-row presentation (a 32 px Leading tile, a one-line Title link or button, a Status pill, Details joined with " · ", selection checkbox and a compact row-actions button) activated automatically below the md breakpoint (AutoPhone) or toggled on any screen with KlyDataListViewToggle (remembered in the grouped klyroo-dl-cols cookie when PreferencesKey is set). GroupBy (DataListGroupBy<TItem>) partitions loaded rows or cards under collapsible KlyDataListGroupHeader bars with custom Order, an "Other" fallback for empty values, row counts, a tri-state checkbox that ticks or unticks the group, shift-click range selection across unfolded rows, and fold state remembered in klyroo-dl-cols. Tree (DataListTree<TItem>) renders hierarchical child rows with visual tree rail connectors, an expand/collapse chevron button (operated by pointer, Enter/Space or ArrowRight/ArrowLeft), DefaultExpanded/DefaultExpandedDepth, ExpandAll/CollapseAll/ResetExpansion, independent row or root-only selection, and shift-click range selection across visible tree nodes. Summaries (DataListSummaries<TItem> and KlyDataListColumn.Summary: Sum, Average, Count, Min, Max, SummaryValue, SummaryTemplate and ResolveAsync) renders a <tfoot> with one row per configured DataListSummaryScope (Page, Filtered, Selection). KlyDataListSortMenu opens a popover to pick the sort field (derived from the sortable columns and schema fields, or from Items), switch between Ascending and Descending, or restore the Default order; in static rendering the popover opens via the native Popover API and the choices are links.
1–6 of 6
- Id
- 1
- Customer
- Acme Corp
- Amount
- 86.25
- Id
- 2
- Customer
- Globex
- Amount
- 132.50
- Id
- 3
- Customer
- Initech
- Amount
- 178.75
- Id
- 4
- Customer
- Umbrella
- Amount
- 225.00
- Id
- 5
- Customer
- Hooli
- Amount
- 271.25
- Id
- 6
- Customer
- Stark Industries
- Amount
- 317.50
1–3 of 3
@using Klyroo.Query
@* Table and Grid views with KlyDataListLayoutSwitch, KlyDataListSortMenu and KlyDataListGrid:
- The first list has both KlyDataListTable and KlyDataListGrid, a layout switch, a sort menu, search, selection and row actions.
- The second list is a standalone grid (DefaultLayout = Grid) with custom sort options and a card removal action. *@
<div class="flex w-full flex-col gap-8">
<div class="w-full" data-testid="list-grid-switch">
<KlyDataList TItem="Invoice" Label="Invoices with table and grid views" Schema="InvoiceData.Schema" Items="_items" UrlKey="grid" PreferencesKey="demo-grid" Selectable="true">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListSearch />
<div class="flex flex-wrap items-center gap-2">
<KlyDataListResultCount />
<KlyDataListSortMenu />
<KlyDataListViewToggle />
<KlyDataListLayoutSwitch />
<KlyDataListRefresh />
</div>
</div>
<KlyDataListSelectionActions Actions="_bulkActions" />
<KlyDataListTable Caption="Invoices with table and grid views" RowActions="_rowActions" RowSummary="_summary" Summaries="_summaries">
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" Summary="DataListSummaryKind.Count" />
<KlyDataListFieldColumn Field="status" />
<KlyDataListFieldColumn Field="amount" Align="DataListAlign.End" Format="C2" Summary="DataListSummaryKind.Sum" />
</KlyDataListTable>
<KlyDataListGrid Columns="3" RowActions="_rowActions">
<ItemTemplate Context="invoice">
<div class="flex flex-col gap-1">
<div class="flex items-baseline justify-between gap-2">
<span class="font-semibold text-(--klyroo-text-highlighted)" data-slot="card-customer">@invoice.Customer</span>
<span class="text-xs tabular-nums text-(--klyroo-text-muted)">#@invoice.Id</span>
</div>
<div class="flex items-center justify-between gap-2 text-xs text-(--klyroo-text-muted)">
<span>@invoice.Status</span>
<span class="font-medium tabular-nums text-(--klyroo-text)">@invoice.Amount.ToString("C2")</span>
</div>
</div>
</ItemTemplate>
</KlyDataListGrid>
<KlyDataListPagination />
</KlyDataList>
</div>
<div class="w-full" data-testid="list-grid-only">
<KlyDataList TItem="Invoice" Label="Removable invoice cards" Schema="_gridOnlySchema" Items="_removable" UrlKey="cards" UrlSync="false">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListResultCount />
<KlyDataListSortMenu Items="_sortOptions" />
</div>
<KlyDataListGrid Columns="3" RowActions="_removeActions" RowActionsMaxVisible="1" />
</KlyDataList>
</div>
<div class="w-full" data-testid="list-grouped">
<KlyDataList TItem="Invoice" Label="Invoices grouped by status" Schema="InvoiceData.Schema" Items="_groupedItems" PagingMode="DataListPagingMode.None" UrlKey="grp" PreferencesKey="demo-groups" Selectable="true">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListResultCount />
<div class="flex flex-wrap items-center gap-2">
<KlyDataListSortMenu />
<KlyDataListLayoutSwitch />
</div>
</div>
<KlyDataListSelectionActions Actions="_bulkActions" />
<KlyDataListTable Caption="Invoices grouped by status" GroupBy="_groupBy">
<KlyDataListFieldColumn Field="id" Title="No." Align="DataListAlign.End" />
<KlyDataListFieldColumn Field="customer" />
<KlyDataListFieldColumn Field="status" />
<KlyDataListFieldColumn Field="amount" Align="DataListAlign.End" Format="C2" />
</KlyDataListTable>
<KlyDataListGrid Columns="3" GroupBy="_groupBy" />
</KlyDataList>
</div>
<div class="w-full" data-testid="list-tree">
<KlyDataList @ref="_treeList" TItem="DepartmentNode" Label="Departments tree" Schema="_treeSchema" Items="_treeItems" PagingMode="DataListPagingMode.None" UrlSync="false" Selectable="true">
<div class="flex flex-wrap items-center justify-between gap-2">
<KlyDataListResultCount />
<div class="flex flex-wrap items-center gap-2">
<KlyButton Label="Expand all" Size="KlySize.Sm" Variant="ButtonVariant.Outline" Color="KlyColor.Neutral" data-slot="tree-expand-all" OnClick="@(() => _treeList?.ExpandAll())" />
<KlyButton Label="Collapse all" Size="KlySize.Sm" Variant="ButtonVariant.Outline" Color="KlyColor.Neutral" data-slot="tree-collapse-all" OnClick="@(() => _treeList?.CollapseAll())" />
</div>
</div>
<KlyDataListSelectionActions Actions="_treeActions" />
<KlyDataListTable Caption="Departments tree" Tree="_tree">
<KlyDataListFieldColumn Field="name" Title="Department" />
<KlyDataListFieldColumn Field="head" Title="Lead" />
<KlyDataListFieldColumn Field="headcount" Title="Headcount" Align="DataListAlign.End" />
</KlyDataListTable>
</KlyDataList>
</div>
</div>
@code {
private KlyDataList<DepartmentNode>? _treeList;
private static readonly Invoice[] _items = InvoiceData.All[..25];
private List<Invoice> _removable = [.. InvoiceData.All[..6]];
private static readonly Invoice[] _groupedItems =
[
.. InvoiceData.All[..6],
InvoiceData.All[6] with { Status = "" },
];
private static readonly DataListGroupBy<Invoice> _groupBy = DataListGroupBy<Invoice>.ByField("status", ["Paid", "Pending", "Overdue"]);
private sealed record DepartmentNode(string Id, string Name, string Head, int Headcount, IReadOnlyList<DepartmentNode>? Subteams = null);
private static readonly DataListSchema<DepartmentNode> _treeSchema = DataListSchema.For<DepartmentNode>(s => s
.RowKey(d => d.Id)
.RowLabel(d => d.Name)
.Field(d => d.Name, f => f.Sortable())
.Field(d => d.Head, f => f.Sortable())
.Field(d => d.Headcount, f => f.Sortable()));
private static readonly DepartmentNode[] _treeItems =
[
new("eng", "Engineering", "Ada Lovelace", 42,
[
new("eng-platform", "Platform", "Grace Hopper", 18,
[
new("eng-runtime", "Runtime", "Alan Turing", 8),
new("eng-infra", "Infrastructure", "Margaret Hamilton", 10),
]),
new("eng-ui", "Design Systems", "Håkon Wium Lie", 24),
]),
new("ops", "Operations", "Katherine Johnson", 15,
[
new("ops-sec", "Security", "Whitfield Diffie", 7),
]),
new("legal", "Legal", "Ruth Bader", 5),
];
private static readonly DataListTree<DepartmentNode> _tree = new()
{
Children = d => d.Subteams,
DefaultExpandedDepth = 1,
};
private static readonly DataListAction<DepartmentNode>[] _treeActions =
[
new() { Key = "export-teams", Label = "Export teams", Icon = "download", OnExecute = _ => Task.CompletedTask },
];
private static readonly DataListSchema<Invoice> _gridOnlySchema = DataListSchema.For<Invoice>(s => s
.RowKey(i => i.Id)
.RowLabel(i => $"Invoice #{i.Id}")
.Field(i => i.Id, f => f.Sortable())
.Field(i => i.Customer, f => f.Sortable())
.Field(i => i.Amount, f => f.Sortable())
.DefaultSort(i => i.Id)
.DefaultPageSize(6)
.DefaultLayout(DataListLayout.Grid));
private static readonly DataListSortOption[] _sortOptions =
[
new("id", "Invoice number"),
new("customer", "Customer name"),
new("amount", "Total amount"),
];
private static readonly DataListAction<Invoice>[] _bulkActions =
[
new() { Key = "export", Label = "Export", Icon = "download", OnExecute = _ => Task.CompletedTask },
];
private static readonly DataListRowAction<Invoice>[] _rowActions =
[
new() { Key = "open", Label = "Open", Icon = "download", Href = c => $"#invoice-{c.Item.Id}" },
];
private static readonly DataListRowSummary<Invoice> _summary = new()
{
Title = i => i.Customer,
Leading = i => @<span>#@i.Id</span>,
Status = i => @<span class="rounded-full border border-(--klyroo-border-accented) px-2 py-0.5 text-xs">@i.Status</span>,
Details = i => [i.Amount.ToString("C2"), i.Issued.ToString("yyyy-MM-dd")],
Href = i => $"#invoice-{i.Id}",
};
private static readonly DataListSummaries<Invoice> _summaries = new()
{
Scopes = [DataListSummaryScope.Page, DataListSummaryScope.Filtered, DataListSummaryScope.Selection],
};
private DataListRowAction<Invoice>[] _removeActions =>
[
new()
{
Key = "remove",
Label = "Remove",
Icon = "trash",
Color = KlyColor.Error,
OnExecute = ctx =>
{
_removable = [.. _removable.Where(i => i.Id != ctx.Item.Id)];
StateHasChanged();
return Task.CompletedTask;
},
},
];
}API
KlyDataListGrid<TItem>
The rows of the list as a grid of cards, the alternative to KlyDataListTable1 . Place both inside one list with a Kly1 to let the user choose; each card shows the visible columns as label and value pairs, or an ItemTemplate .
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
AriaLabel |
string |
Accessible name of the grid region. Defaults to the label of the list, then the localized "Results". | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Columns |
int |
3 |
Maximum number of card columns on wide screens (1 to 4, 3 by default). |
EmptyState |
Data |
Declarative configuration for the unfiltered empty state (icon, title, description, and an optional first-use Action ). When search or filters are active, the filtered empty state is still displayed instead and the first-use action is omitted. | |
GroupBy |
DataListGroupBy |
Optional visual grouping of the loaded cards under collapsible KlyDataListGroupHeader`1 headers with per-group selection checkboxes. | |
RowActions |
IReadOnlyList |
Per-card actions ( KlyDataListRowActions`1 ). | |
RowActions |
int |
0 |
How many row actions show as inline buttons on each card (0 by default, keeping one menu trigger button per card). |
ShowProgressLine |
bool |
true |
Draws a subtle top progress indicator while the cards on screen are being refreshed or replaced ( true by default). |
Show |
bool |
true |
Draws a selection checkbox on each card and a select-all header when selection is enabled ( true by default). |
Ui |
DataListUi |
Per-instance classes for each slot. |
Events
| Name | Type | Description |
|---|---|---|
OnRowActionError |
EventCallback |
Raised when a row action threw or reported a failure. |
Slots
| Name | Type | Description |
|---|---|---|
Empty |
RenderFragment |
Shown when the list has no rows. Without it, EmptyState or KlyDataListEmpty (with the filtered-empty variant when search or filters are active). |
ItemTemplate |
RenderFragment |
Template for rendering the body of each card in the grid. When null , renders the visible columns or schema fields as label/value pairs. |
SkeletonTemplate |
RenderFragment |
Custom content shown for each placeholder card while the initial result loads. |
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. |
KlyDataListLayoutSwitch<TItem>
A button group that switches the list between the table and the grid layout. The choice is part of the state of the list, so it goes in the URL.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
AriaLabel |
string |
Accessible name of the layout switch group. Defaults to the localized "View layout". | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
GridIcon |
string |
"layout-grid" |
Icon name for the Grid layout ( "layout-grid" by default). |
Order |
IReadOnlyList |
Order of the layout options ( [Table, Grid] by default). | |
ShowLabels |
bool |
false |
Shows the localized text labels ("Table view", "Grid view") next to the icons ( false by default). |
TableIcon |
string |
"table-2" |
Icon name for the Table layout ( "table-2" by default). |
Ui |
DataListUi |
Per-instance classes for each slot. |
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. |
KlyDataListSortMenu<TItem>
A menu that picks the sort field and its direction, or restores the default sort. Useful in the grid layout, which has no column headers, and on small screens.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Items |
IReadOnlyList |
Explicit sortable field options. When null , the menu lists the sortable KlyDataListColumnBase`1 s in user order followed by any other sortable fields of the schema. | |
Label |
string |
Label of the trigger button and heading of the popover. Defaults to the localized "Sort". | |
Layouts |
IReadOnlyList |
Layouts in which the sort menu is shown (for example [DataListLayout.Grid] when the table headers already sort). When null , shown in every layout. | |
Multiple |
bool? |
Whether the menu edits a list of sorts: true always shows the active sorts in order, with a button to reverse, move and remove each, and the fields that can still be added; false keeps the menu that picks one field and its direction; null (the default) is the second until the list sorts by more than one field (a Shift+click on a header), then the first, so a sort of several keys can always be seen and changed. | |
Size |
KlySize |
KlySize. |
Size of the trigger button (small by default). Values: Xs, Sm, Md, Lg, Xl. |
Ui |
DataListUi |
Per-instance classes for each slot. |
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. |
KlyDataListViewToggle<TItem>
A toggle that switches the table between its columns and the compact summary rows configured by RowSummary . It renders nothing when the table has no row summary.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Icon |
string |
"list" |
Icon name shown on the toggle button ( "list" by default). |
Label |
string |
Text and accessible name of the toggle button. Defaults to the localized "Summary view". | |
ShowLabel |
bool |
true |
Shows the text label next to the icon ( true by default). |
Ui |
DataListUi |
Per-instance classes for each slot. |
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. |
KlyDataListGroupHeader<TItem>
The header of a group of rows in a table, a grid or a summary list: an optional checkbox that ticks the group, and a button with the label and the summary that folds it.
Parameters
| Name | Type | Description |
|---|---|---|
Class |
string |
Classes added to the root element, merged last so they win over the theme. |
Collapsed |
bool? |
Overrides whether the group is currently collapsed. When null , reads DataListGroup{`0}) . |
Group (required) |
DataListGroup |
The group rendered by this header. |
GroupBy |
DataListGroupBy |
Optional grouping definition supplying the label and summary templates of DataListGroupBy`2 . |
Selectable |
bool? |
Overrides whether the group header displays a select-all-in-group checkbox. Defaults to SelectionVisible . |
ToggleLabel |
string |
Accessible name of the fold/unfold button. Defaults to the localized GroupToggle formatted with Label . |
Ui |
DataListUi |
Per-instance classes for each slot. |
Events
| Name | Type | Description |
|---|---|---|
OnToggle |
EventCallback |
Raised when the fold/unfold button is clicked. When not bound, toggles the group on DataListContext`1 . |
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. |