IgcGridEditEventArgs

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

Provides the ability to cancel the event.

cancel: boolean
cellID?: object

Optional Represents the column information of the edited cell

column?: IgcColumnComponent

Optional isAddRow

Section titled "isAddRow"

Optional Indicates if the editing consists of adding a new row

isAddRow?: boolean

Optional newValue

Section titled "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

newValue?: any

Represents the previous (before editing) value of the edited cell. It's used when the event has been stopped/exited.

oldValue: any

Optional Represents the grid instance that owns the edit event.

owner?: IgcGridBaseDirective
primaryKey: any

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

rowData: any
rowID: any
rowKey: any

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

valid?: boolean