Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridCommandColumn - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridCommandColumn

    Configures tree grid command column.

    Inheritance
    System.Object
    TreeGridCommandColumn
    Namespace: Syncfusion.Blazor.TreeGrid
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeGridCommandColumn : OwningComponentBase

    Constructors

    TreeGridCommandColumn()

    Declaration
    public TreeGridCommandColumn()

    Properties

    ButtonOption

    Define the button model.

    Declaration
    public CommandButtonOptions ButtonOption { get; set; }
    Property Value
    Type Description
    CommandButtonOptions

    Title

    Define the command button tooltip.

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

    Type

    Define the command button type.
    None - Default. A command button with no default action. Use this for custom command actions.
    Edit - A edit command button that edit current record.
    Delete - A delete command button that delete current record.
    Save - A save command button that saves the current edited record.
    Cancel - A 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

    Gets the unique identifier value of the column. It is used to get the object.

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

    Methods

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved