UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

76 lines (75 loc) 2.67 kB
import { IgrGridCellIdentifier } from "./igr-grid-cell-identifier"; import { IgrColumn } from "./igr-column"; import { IgrGridBaseDirective } from "./igr-grid-base-directive"; import { IgrBaseEventArgsDetail } from "./igr-base-event-args-detail"; import { GridEditDoneEventArgsDetail as GridEditDoneEventArgsDetail_internal } from "./GridEditDoneEventArgsDetail"; /** * Represents event arguments related to grid editing completion. */ export declare class IgrGridEditDoneEventArgsDetail extends IgrBaseEventArgsDetail { protected createImplementation(): GridEditDoneEventArgsDetail_internal; /** * @hidden */ get i(): GridEditDoneEventArgsDetail_internal; constructor(); /** * @deprecated Use the `rowKey` property instead. */ get rowID(): any; set rowID(v: any); /** * @deprecated Use the `rowKey` property instead. */ get primaryKey(): any; set primaryKey(v: any); get rowKey(): any; set rowKey(v: any); get cellID(): IgrGridCellIdentifier; set cellID(v: IgrGridCellIdentifier); /** * `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 */ get rowData(): any; set rowData(v: any); /** * Represents the previous (before editing) value of the edited cell. * It's used when the event has been stopped/exited. */ get oldValue(): any; set oldValue(v: any); /** * 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` */ get newValue(): any; set newValue(v: any); /** * Optional * Represents the column information of the edited cell */ get column(): IgrColumn; set column(v: IgrColumn); /** * Optional * Represents the grid instance that owns the edit event. */ get owner(): IgrGridBaseDirective; set owner(v: IgrGridBaseDirective); /** * Optional * Indicates if the editing consists of adding a new row */ get isAddRow(): boolean; set isAddRow(v: boolean); /** * 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 */ get valid(): boolean; set valid(v: boolean); findByName(name: string): any; }