UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

96 lines (95 loc) 3.17 kB
import { IgrDataGridColumn } from "./igr-data-grid-column"; import { GridCellEditStartedEventArgs as GridCellEditStartedEventArgs_internal } from "./GridCellEditStartedEventArgs"; var IgrGridCellEditStartedEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrGridCellEditStartedEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrGridCellEditStartedEventArgs.prototype.createImplementation = function () { return new GridCellEditStartedEventArgs_internal(); }; Object.defineProperty(IgrGridCellEditStartedEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridCellEditStartedEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrGridCellEditStartedEventArgs.prototype.onImplementationCreated = function () { }; IgrGridCellEditStartedEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrGridCellEditStartedEventArgs.prototype, "column", { /** * Gets the column of the cell that started editing. */ get: function () { var r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { var e = IgrDataGridColumn._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.a = null : this.i.a = v.i; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridCellEditStartedEventArgs.prototype, "row", { /** * Gets the row index of the cell that started editing. */ get: function () { return this.i.b; }, set: function (v) { this.i.b = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridCellEditStartedEventArgs.prototype, "item", { /** * Gets the row item. */ get: function () { return this.i.item; }, set: function (v) { this.i.item = v; }, enumerable: false, configurable: true }); return IgrGridCellEditStartedEventArgs; }()); export { IgrGridCellEditStartedEventArgs };