menu

Blazor

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

    Show / Hide Table of Contents

    Class RowEditedEventArgs<T>

    Provides information about the RowEdited event.

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

    TValue of the grid component.

    Constructors

    RowEditedEventArgs()

    Declaration
    public RowEditedEventArgs()

    Properties

    Data

    Gets or sets the data of the row associated with editing.

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

    The data of the row associated with editing.

    Remarks

    By default, this property is cloned, which means the original data will be reverted even if the user discards the edited data using the Cancel button in the toolbar or dialog editing cancel button. To prevent this cloning, you can set the PreventDataClone argument of the OnRowEditStart event to true. This event is triggered before the current event.

    EditContext

    Gets the current EditContext instance.

    Declaration
    public EditContext EditContext { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.Forms.EditContext

    An instance of the EditContext class that represents the current edit context. By default, the value is null.

    ForeignKeyData

    Gets the foreign key column data of the data grid.

    Declaration
    public IDictionary<string, IEnumerable<object>> ForeignKeyData { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IEnumerable<System.Object>>

    A dictionary that represents the foreign key column data. Each key represents a foreign key column name and the value represents the associated data as an enumerable object.

    Index

    Gets the row index of the row associated with editing.

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

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

    Remarks

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

    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