Show / Hide Table of Contents

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
BaseRendererElement
IgbGridEditEventArgsDetail
Implements
JsonSerializable
Inherited Members
BaseRendererElement._name
BaseRendererElement.eventCallbacksCache
BaseRendererElement._cachedSerializedContent
BaseRendererElement.EnsureModulesLoaded()
BaseRendererElement.BuildRenderTree(RenderTreeBuilder)
BaseRendererElement.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererElement.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelper(String, String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelperSync(String, String, Object[], String[], ElementReference[])
BaseRendererElement.IsPropDirty(String)
BaseRendererElement.Serialize(SerializationContext, String)
BaseRendererElement.Serialize()
BaseRendererElement.EnsureValid()
BaseRendererElement.SetResourceStringAsync(String, String, String)
BaseRendererElement.SetResourceStringAsync(String, String)
BaseRendererElement.CompareEventCallbacks<T>(T, T, Dictionary<Type, Dictionary<String, FieldInfo>>)
BaseRendererElement.IgBlazor
BaseRendererElement.IsComponentRooted
BaseRendererElement.ParentTypeName
BaseRendererElement.UseDirectRender
BaseRendererElement.ChildContent
BaseRendererElement.SupportsVisualChildren
BaseRendererElement.Name
BaseRendererElement.Parent
BaseRendererElement.MethodTarget
BaseRendererElement.CurrParent
Namespace: IgniteUI.Blazor.Controls
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
Type Description
IgbGridCellIdentifier

Column

Optional Represents the column information of the edited cell

Declaration
public IgbColumn Column { get; set; }
Property Value
Type Description
IgbColumn

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
Type Description
IgbGridBaseDirective

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
BaseRendererElement.Type

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
BaseRendererElement.FindByName(String)

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
BaseRendererElement.FromEventJson(BaseRendererControl, Dictionary<String, Object>)

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
BaseRendererElement.ToEventJson(BaseRendererControl, Dictionary<String, Object>)

Implements

JsonSerializable