Class GridCommandColumn
Configures grid command column.
Inheritance
System.Object
GridCommandColumn
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridCommandColumn : OwningComponentBase
Constructors
GridCommandColumn()
Declaration
public GridCommandColumn()
Properties
ButtonOption
Define the button model.
Declaration
public CommandButtonOptions ButtonOption { get; set; }
Property Value
Type |
---|
CommandButtonOptions |
ID
Define the command button ID.
Declaration
public string ID { get; set; }
Property Value
Type |
---|
System.String |
Title
Define the command button tooltip.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
System.String |
Type
Define the command button type.
- NoneDefault. A command button with no default action. Use this for custom command actions.
- EditA edit command button that edit current record.
- DeleteA delete command button that delete current record.
- SaveA save command button that saves the current edited record.
- CancelA cancel command button that cancels the edit state.
Declaration
public CommandButtonType Type { get; set; }
Property Value
Type |
---|
CommandButtonType |
Remarks
To use custom command button, set Type as None and use CommandClicked event to perform custom action.
Uid
Declaration
public string Uid { get; set; }
Property Value
Type |
---|
System.String |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |