menu

Blazor

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

    Show / Hide Table of Contents

    Class RowUpdatedEventArgs<T>

    Provides information about the RowUpdated event.

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

    TValue of the grid component.

    Constructors

    RowUpdatedEventArgs()

    Declaration
    public RowUpdatedEventArgs()

    Properties

    Action

    Gets the type of update action: whether a new row was added or an existing row was edited.

    Declaration
    public SaveActionType Action { get; }
    Property Value
    Type Description
    Syncfusion.Blazor.Grids.SaveActionType

    The action performed on the row. The possible values are:

    • AddedA new row is added to the grid.
    • EditedAn existing row is updated in the grid.
    Remarks

    This property is used when the Grid edit mode is set to Normal or Dialog.

    Data

    Gets or sets the data of the row associated with updating in the grid.

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

    A T object representing the data of the grid.

    Index

    Gets the row index of the row associated with updating.

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

    The row index of the updating row. By default, the value is 0.

    Remarks

    The value of this property can be used to identify which row in a collection or data source is being saved.

    PreviousData

    Gets the previous data of the row.

    Declaration
    public T PreviousData { get; }
    Property Value
    Type Description
    T

    An object of type T that contains the previous data of the row. By default, the value is null.

    PrimaryKeys

    Gets the list of the primary key values.

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

    A string array that contains the list of primary key values.

    PrimaryKeyValue

    Gets the primary key value of the GridColumn.

    Declaration
    public object PrimaryKeyValue { get; }
    Property Value
    Type Description
    System.Object

    An object that defines the primary key value of the column when IsPrimaryKey is true, otherwise null.

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