@datorama/core 22.13.0-beta.2 → 22.13.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15574,9 +15574,12 @@ var DatoGridControllerComponent = /** @class */ (function () {
15574
15574
  this.rowHoverComponent && this.rowHoverComponent.destroy();
15575
15575
  this.rowHoverComponent = null;
15576
15576
  };
15577
- DatoGridControllerComponent.prototype.ngAfterContentInit = function () {
15578
- this.contentInit.next();
15579
- this.contentInit.complete();
15577
+ DatoGridControllerComponent.prototype.initializeGrid = function (agGrid, agGridEl) {
15578
+ if (!this.contentInit.isStopped) {
15579
+ this._initializeGrid(agGrid, agGridEl);
15580
+ this.contentInit.next();
15581
+ this.contentInit.complete();
15582
+ }
15580
15583
  };
15581
15584
  /* @internal */
15582
15585
  DatoGridControllerComponent.prototype._initializeGrid = function (agGrid, agGridEl) {
@@ -16040,7 +16043,7 @@ var DatoGridV2Component = /** @class */ (function () {
16040
16043
  set: function (agGrid) {
16041
16044
  if (agGrid) {
16042
16045
  var agGridEl = query('ag-grid-angular', this.host.nativeElement);
16043
- this.controller._initializeGrid(agGrid, agGridEl);
16046
+ this.controller.initializeGrid(agGrid, agGridEl);
16044
16047
  }
16045
16048
  },
16046
16049
  enumerable: true,