UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

61 lines (60 loc) 1.89 kB
import { IgrColumnGroupDescriptionCollection } from "./igr-column-group-description-collection"; import { GridGroupDescriptionsChangedEventArgs as GridGroupDescriptionsChangedEventArgs_internal } from "./GridGroupDescriptionsChangedEventArgs"; /** * Information about the current grouping applied to the grid. */ export class IgrGridGroupDescriptionsChangedEventArgs { createImplementation() { return new GridGroupDescriptionsChangedEventArgs_internal(); } get nativeElement() { return this._implementation.nativeElement; } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } get groupDescriptions() { const r = this.i.groupDescriptions; if (r == null) { return null; } if (!r.externalObject) { let e = new IgrColumnGroupDescriptionCollection(); if (r.$type) { e._implementation = r; } else { if (e.i.setNativeElement) { e.i.setNativeElement(r); } } r.externalObject = e; } return r.externalObject; } set groupDescriptions(v) { v == null ? this.i.groupDescriptions = null : this.i.groupDescriptions = v.i; } }