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
Properties
Section titled "Properties"Optional cellID
Section titled "cellID"cellID?: object Optional column
Section titled "column"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 oldValue
Section titled "oldValue"Represents the previous (before editing) value of the edited cell. It's used when the event has been stopped/exited.
oldValue: any Optional owner
Section titled "owner"Optional Represents the grid instance that owns the edit event.
owner?: IgcGridBaseDirective primaryKey
Section titled "primaryKey"primaryKey: any rowData
Section titled "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
rowData: any rowID
Section titled "rowID"rowID: any rowKey
Section titled "rowKey"rowKey: any Optional valid
Section titled "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
valid?: boolean