Class
GridCommandColumn

Defines a command column in the grid where you can put buttons for built-in commands like Edit, Save, Delete, Cancel; as well as buttons for custom commands whose OnClick you can handle.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class GridCommandColumn : CommandColumnBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IColumn, IGridColumnMenuColumn, ITableColumnMenuColumn

Inheritance: objectComponentBaseColumnBaseCommandColumnBaseGridCommandColumn

Implements: IColumnIComponentIDisposableIGridColumnMenuColumnIHandleAfterRenderIHandleEventITableColumnMenuColumn

Inherited Members CommandColumnBase.CommandsCommandColumnBase.ShowColumnMenuCommandColumnBase.VisibleInColumnChooserCommandColumnBase.ChildContentColumnBase.OnInitialized()ColumnBase.SetParametersAsync(ParameterView)ColumnBase.OnParametersSetAsync()ColumnBase.OnAfterRender(bool)ColumnBase.Dispose()ColumnBase.ParentColumnColumnBase.TitleColumnBase.HeaderClassColumnBase.WidthColumnBase.MinResizableWidthColumnBase.MaxResizableWidthColumnBase.VisibleColumnBase.ReorderableColumnBase.ResizableColumnBase.LockedColumnBase.IdColumnBase.ColumnsCollectionComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

GridCommandColumn()

Declaration

cs-api-definition
public GridCommandColumn()

Properties

Lockable

Specifies if the column can be locked from the UI.

Declaration

cs-api-definition
[Parameter]
public bool Lockable { get; set; }

Property Value

bool

Implements ITableColumnMenuColumn.Lockable

OnCellRender

Called each time a cell is rendered. Use this to add custom classes to the cell based on its value.

Declaration

cs-api-definition
[Parameter]
public Action<GridCellRenderEventArgs> OnCellRender { get; set; }

Property Value

Action<GridCellRenderEventArgs>

ShowColumnChooser

Specifies if the column chooser is displayed in the column menu.

Declaration

cs-api-definition
[Parameter]
public bool ShowColumnChooser { get; set; }

Property Value

bool

Implements ITableColumnMenuColumn.ShowColumnChooser