menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OnRowEditStartEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OnRowEditStartEventArgs

    Provides information about the OnRowEditStart event.

    Inheritance
    System.Object
    GridEventBaseArgs
    OnRowEditStartEventArgs
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class OnRowEditStartEventArgs : GridEventBaseArgs

    Constructors

    OnRowEditStartEventArgs()

    Declaration
    public OnRowEditStartEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the editing action in the grid.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false. If the Cancel property is set to true, then the edit action will be Canceled.

    PreventDataClone

    Gets or sets whether to clone data object during editing. Set the property when the OnRowEditStart event is triggered.

    Declaration
    public bool PreventDataClone { get; set; }
    Property Value
    Type Description
    System.Boolean

    A Boolean value that indicates whether the data object should be cloned or not when editing begins.
    true: A clone of the data object will not be created, and the original data object is used for editing.
    false: A clone of the data object will be created and used for editing instead of the original data object.
    The default value is false.

    Remarks

    If PreventDataClone is set to true, the edited data will be saved even if the user discards the changes using the Cancel button in the toolbar or dialog editing cancel button.

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