Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCommandColumn

    Show / Hide Table of Contents

    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 Description
    CommandButtonOptions

    ID

    Define the command button ID.

    Declaration
    public string ID { get; set; }
    Property Value
    Type Description
    System.String

    Title

    Define the command button tooltip.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 Description
    System.Threading.Tasks.Task

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved