ngx-rs-ant 2.1.0 → 2.1.1

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.
@@ -2747,16 +2747,18 @@ class CellComponentTemplateComponent {
2747
2747
  this.cellComponentRef.createComponent(PluginNotFoundComponent);
2748
2748
  return;
2749
2749
  }
2750
- const componentRef = this.cellComponentRef.createComponent(plugin.component);
2751
- const instance = componentRef.instance;
2752
- Object.assign(instance, cellComponentConfig);
2753
- instance.field = this.cellInfo.column.dataField;
2754
- instance.fieldConfig = fieldConfig;
2755
- instance.rowData = this.cellInfo.data;
2756
- instance.columnLookup = this.cellInfo.column.lookup;
2757
- instance.value = this.cellInfo.value;
2758
- instance.displayValue = this.cellInfo.displayValue;
2759
- instance.loaded$ = this.service.cellTemplateLoaded$;
2750
+ setTimeout(() => {
2751
+ const componentRef = this.cellComponentRef.createComponent(plugin.component);
2752
+ const instance = componentRef.instance;
2753
+ Object.assign(instance, cellComponentConfig);
2754
+ instance.field = this.cellInfo.column.dataField;
2755
+ instance.fieldConfig = fieldConfig;
2756
+ instance.rowData = this.cellInfo.data;
2757
+ instance.columnLookup = this.cellInfo.column.lookup;
2758
+ instance.value = this.cellInfo.value;
2759
+ instance.displayValue = this.cellInfo.displayValue;
2760
+ instance.loaded$ = this.service.cellTemplateLoaded$;
2761
+ });
2760
2762
  }
2761
2763
  }
2762
2764
  CellComponentTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellComponentTemplateComponent, deps: [{ token: DataGridService }], target: i0.ɵɵFactoryTarget.Component });