ClassGridCommandButton
A component that lets you add a command button inside a Grid command column. Supports built-in and custom actions and emits GridCommandEventArgs on click to handle row-level operations. Use Id cautiously in command columns to avoid duplicate HTML ids across rows.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class GridCommandButton : TableCommandButtonBase<GridCommandEventArgs>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentButtonBaseCommandButtonBaseTableCommandButtonBase<GridCommandEventArgs>GridCommandButton
Implements:
Inherited Members
Constructors
GridCommandButton()
Declaration
public GridCommandButton()
Properties
Id
Sets the unique HTML id attribute for the command button. Be careful when using this in command columns as multiple rows will have the same id. Applying an id to the command button in a command column can lead to different HTML elements having the same id.
Declaration
[Parameter]
public override string Id { get; set; }
Property Value
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides