Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Row actions

Since 0.1.0-alpha.20
Each row's actions sit at its end or in a ⋯ menu, and cells can hold your own buttons, links and fields.

The members for row actions, and the types they use. Every member of IzzyBlazor.DataGrid<TItem> is on the DataGrid API.

Properties (2)

RowHrefFunc<TItem, string?>?Added in 0.1.0-alpha.20

Makes each row a link, such as to the item's details page. The whole row is clickable; links, buttons and checkboxes inside it still work on their own.

RowLabelFunc<TItem, string>? (computed)Added in 0.1.0-alpha.20

Names a row for screen readers, in its link and its checkbox. Defaults to ItemKey.

Parts (2)

Components written inside DataGrid, and the columns' members, which PropertyColumn, TemplateColumn and DynamicColumn share.

ActionColumn<TItem>

The column that holds a row's actions, at the end of a DataGrid. A grid with editing has one by itself, with Edit and Delete; write one to set their order, or to add your own actions.

ChildContentRenderFragment<TItem>?Added in 0.1.0-alpha.20

The row's actions: EditAction, DeleteAction and RowAction. context is the row.

OverflowRowActionOverflow = RowActionOverflow.AutoAdded in 0.1.0-alpha.20

Where its actions show, unless one says otherwise. RowActionOverflow.Always makes it a ⋯ menu. The default, RowActionOverflow.Auto, is buttons, which move into the menu once the grid hides columns to fit (DataGridSmallScreen.HideColumns).

RowAction

An action of your own on a row: an icon button with a tooltip, or an item in its menu.

IconIconData?Added in 0.1.0-alpha.20

Its icon.

Labelstring requiredAdded in 0.1.0-alpha.20

What it does: the button's name and tooltip, or the item's text. Say which row, if it isn't clear from a list of them.

Hrefstring?Added in 0.1.0-alpha.20

Makes it a link.

Namestring?Added in 0.1.0-alpha.20

The form field name the button posts under, with Value, and Form as the table can't hold a form of its own.

Valuestring?Added in 0.1.0-alpha.20

The value the button posts.

Formstring?Added in 0.1.0-alpha.20

The id of the form it submits. Setting it makes it a submit button.

Disabledbool = falseAdded in 0.1.0-alpha.20

Whether it can't be used.

Visiblebool = trueAdded in 0.1.0-alpha.20

Whether this row has it.

OverflowRowActionOverflow? (computed)Added in 0.1.0-alpha.20

Where it shows. Defaults to the column's Overflow.

OnClickEventCallbackAdded in 0.1.0-alpha.20Interactive only

Runs when it's used, on interactive pages.

Types (1)

RowActionOverflow

enum

Where a row's action shows in a DataGrid's ActionColumn<T>.

RowActionOverflow values
ValueDescription
Auto

A button in the row, until the grid hides columns to fit (DataGridSmallScreen.HideColumns); then in the row's ⋯ menu. The default.

Never

A button in the row, always.

Always

In the row's ⋯ menu.

Connection lost

Rejoining the server…