menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BeginEditArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BeginEditArgs<T>

    Provides information about the OnBeginEdit event.

    Inheritance
    System.Object
    GridEventBaseArgs
    BeginEditArgs<T>
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BeginEditArgs<T> : GridEventBaseArgs
    Type Parameters
    Name Description
    T

    TValue of grid component.

    Constructors

    BeginEditArgs()

    Declaration
    public BeginEditArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the edit action in 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 edit action will be cancelled.

    PrimaryKey

    Gets the list of IsPrimaryKey true field names of the column.

    Declaration
    public string[] PrimaryKey { get; }
    Property Value
    Type Description
    System.String[]

    The list of Field names of the column with IsPrimaryKey set to true.

    PrimaryKeyValue

    Gets the list of primary key values where IsPrimaryKey is true.

    Declaration
    public string[] PrimaryKeyValue { get; }
    Property Value
    Type Description
    System.String[]

    The list of primary key values associated with the column where IsPrimaryKey is true.

    Row

    Defines the current edited row.

    Declaration
    public DOM Row { get; set; }
    Property Value
    Type
    DOM

    RowData

    Gets the data of the row that is currently selected for editing.

    Declaration
    public T RowData { get; set; }
    Property Value
    Type Description
    T

    The data of the currently selected row for editing.

    RowIndex

    Gets or sets the index of the row that is currently selected for editing.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    The row index of the currently selected row for editing.

    Type

    Gets the name of the event.

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

    The name of the event, by default the value is Edit.

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