barsa-develop-components 1.0.368 → 1.0.369

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.
@@ -2524,16 +2524,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2524
2524
  class SubformInRowReportComponent extends BaseItemContentPropsComponent {
2525
2525
  ngOnInit() {
2526
2526
  super.ngOnInit();
2527
+ const userDefineViewId = this.parameters?.ViewTypeValue?.Id;
2527
2528
  this.params = {
2528
2529
  moId: this.mo.Id,
2529
2530
  typeDefId: this.typeDefId,
2530
- isSimple: true
2531
+ isSimple: true,
2532
+ viewId: userDefineViewId
2531
2533
  };
2532
2534
  const formPanelCtrl = createGridEditorFormPanel(this.formSetting, { ...this.mo }, this.typeDefId, null, false
2533
2535
  // BarsaApi.Common.Util.TryGetValue(this.context.Setting, 'Extra.Relation')
2534
2536
  );
2535
2537
  this.formPanelCtrl = formPanelCtrl;
2536
- formPanelCtrl.LoadAndCreate({ MoId: this.mo.Id, TypeDefId: this.typeDefId }, false, true, () => {
2538
+ formPanelCtrl.LoadAndCreate({ MoId: this.mo.Id, TypeDefId: this.typeDefId, TypeViewId: userDefineViewId }, false, true, () => {
2537
2539
  this.loaded = true;
2538
2540
  this._cdr.detectChanges();
2539
2541
  });