UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

90 lines (89 loc) 3.11 kB
import { IgrGridCellIdentifier } from "./igr-grid-cell-identifier"; import { IgrColumn } from "./igr-column"; import { IgrGridBaseDirective } from "./igr-grid-base-directive"; import { GridEditEventArgsDetail as GridEditEventArgsDetail_internal } from "./GridEditEventArgsDetail"; import { ContentChildrenManager } from "igniteui-react-core"; /** * 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 */ export declare class IgrGridEditEventArgsDetail { protected createImplementation(): GridEditEventArgsDetail_internal; protected _implementation: any; protected mounted: boolean; get nativeElement(): HTMLElement; /** * @hidden */ get i(): GridEditEventArgsDetail_internal; protected onImplementationCreated(): void; protected _contentChildrenManager: ContentChildrenManager; constructor(); protected _provideImplementation(i: any): void; /** * Provides the ability to cancel the event. */ get cancel(): boolean; set cancel(v: boolean); /** * @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; setNativeElement(element: any): void; }