alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class TreeGridEditSettings

    Configures Tree Grid edit settings.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    TreeGridEditSettings
    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.TreeGrid
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeGridEditSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    TreeGridEditSettings()

    Declaration
    public TreeGridEditSettings()

    Properties

    AllowAdding

    Gets or sets a value indicating whether new records can be added to the TreeGrid.

    Declaration
    [Parameter]
    public bool AllowAdding { get; set; }
    Property Value
    Type Description
    bool

    true if records can be added; otherwise, false.

    AllowDeleting

    Gets or sets a value indicating whether existing records can be deleted from the TreeGrid.

    Declaration
    [Parameter]
    public bool AllowDeleting { get; set; }
    Property Value
    Type Description
    bool

    true if records can be deleted; otherwise, false.

    AllowEditOnDblClick

    Gets or sets a value indicating whether TreeGrid allows editing of a record on double click.

    Declaration
    [Parameter]
    public bool AllowEditOnDblClick { get; set; }
    Property Value
    Type Description
    bool

    true if editing is allowed on double click; otherwise, false. The default is true.

    AllowEditing

    Gets or sets a value indicating whether values can be updated in the existing record.

    Declaration
    [Parameter]
    public bool AllowEditing { get; set; }
    Property Value
    Type Description
    bool

    true if editing is allowed; otherwise, false.

    Dialog

    Gets or sets the dialog parameters to edit.

    Declaration
    [Parameter]
    public DialogSettings Dialog { get; set; }
    Property Value
    Type Description
    DialogSettings

    An instance of DialogSettings representing the dialog parameters.

    FooterTemplate

    Gets or sets the custom footer content for the edit dialog.

    Declaration
    [Parameter]
    public RenderFragment<object> FooterTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the footer template content.

    Remarks

    The parameters passed to the templates can be accessed using an implicit parameter named context. The context is of type TValue of the tree grid.

    HeaderTemplate

    Gets or sets the custom header content for the edit dialog.

    Declaration
    [Parameter]
    public RenderFragment<object> HeaderTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the header template content.

    Remarks

    The parameters passed to the templates can be accessed using an implicit parameter named context. The context is of type TValue of the tree grid.

    Mode

    Gets or sets the mode to edit the TreeGrid.

    Declaration
    [Parameter]
    public EditMode Mode { get; set; }
    Property Value
    Type Description
    EditMode

    One of the EditMode enumeration values that specifies the editing mode. The default is Cell.

    NewRowPosition

    Gets or sets the row position for new records.

    Declaration
    [Parameter]
    public RowPosition NewRowPosition { get; set; }
    Property Value
    Type Description
    RowPosition

    One of the RowPosition enumeration values that defines the row position. The default is Top.

    ShowConfirmDialog

    Gets or sets a value indicating whether a confirm dialog is shown when batch changes are saved or discarded.

    Declaration
    [Parameter]
    public bool ShowConfirmDialog { get; set; }
    Property Value
    Type Description
    bool

    true if confirm dialog is shown; otherwise, false. The default is true.

    ShowDeleteConfirmDialog

    Gets or sets a value indicating whether a confirm dialog shows for the delete action, allowing cancellation of the delete command.

    Declaration
    [Parameter]
    public bool ShowDeleteConfirmDialog { get; set; }
    Property Value
    Type Description
    bool

    true if confirm dialog is shown for delete action; otherwise, false.

    Template

    Gets or sets the custom edit elements for the dialog template.

    Declaration
    [Parameter]
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the template for custom edit elements.

    Validator

    Gets or sets the custom validator component for the built-in EditForm.

    Declaration
    [Parameter]
    public RenderFragment<object> Validator { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the validator component.

    Remarks

    Use this to override built-in validation components. The parameters passed to the templates can be accessed using an implicit parameter named context. The context is of type ValidatorTemplateContext.

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    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
    Task

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

    Overrides
    ComponentBase.OnInitializedAsync()

    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
    Task

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

    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