Class IgbGridEditEventArgsDetail
Represents event arguments related to grid editing.
The event is cancelable
It contains information about the row and the column, as well as the old and nwe value of the element/cell
Inheritance
System.Object
IgbGridEditEventArgsDetail
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbGridEditEventArgsDetail : BaseRendererElement, JsonSerializable
Constructors
IgbGridEditEventArgsDetail()
Declaration
public IgbGridEditEventArgsDetail()
Properties
Cancel
Provides the ability to cancel the event.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
CellID
Declaration
public IgbGridCellIdentifier CellID { get; set; }
Property Value
Column
Optional
Represents the column information of the edited cell
Declaration
public IgbColumn Column { get; set; }
Property Value
IsAddRow
Optional
Indicates if the editing consists of adding a new row
Declaration
public bool IsAddRow { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
NewValue
Optional
Represents the value, that is being entered in the edited cell
When there is no newValue and the event has ended, the value of the cell returns to the oldValue
Declaration
public object NewValue { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
OldValue
Represents the previous (before editing) value of the edited cell.
It's used when the event has been stopped/exited.
Declaration
public object OldValue { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
Owner
Optional
Represents the grid instance that owns the edit event.
Declaration
public IgbGridBaseDirective Owner { get; set; }
Property Value
PrimaryKey
Declaration
public object PrimaryKey { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
RowData
rowData represents the updated/committed data of the row after the edit (newValue)
The only case rowData (of the current object) is used directly, is when there is no rowEditing or transactions enabled
Declaration
public object RowData { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
RowID
Declaration
public object RowID { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
RowKey
Declaration
public object RowKey { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
Type
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Valid
Optional
Indicates if the new value would be valid.
It can be set to return the result of the methods for validation of the grid
Declaration
public bool Valid { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
FromEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
| Type |
Name |
Description |
| BaseRendererControl |
control |
|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ToEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
| Type |
Name |
Description |
| BaseRendererControl |
control |
|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
Implements