alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GridCommandColumn

    Configures grid command column.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    GridCommandColumn
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GridCommandColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    GridCommandColumn()

    Declaration
    public GridCommandColumn()

    Properties

    ButtonOption

    Define the button model.

    Declaration
    [Parameter]
    public CommandButtonOptions ButtonOption { get; set; }
    Property Value
    Type
    CommandButtonOptions

    ID

    Define the command button ID.

    Declaration
    [Parameter]
    public string ID { get; set; }
    Property Value
    Type
    string

    Title

    Define the command button tooltip.

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type
    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
    [Parameter]
    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
    [Parameter]
    public string Uid { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved