Class TreeGridCommandColumn
Configures tree grid command column.
Inheritance
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 |
---|
CommandButtonOptions |
Title
Define the command button tooltip.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.String |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
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. |