Posted 6 February 2026, 12:01 pm EST
Hello,
I have Olap grid always visible, and by clicking the button I can show in modal Olap panel chich shares the same pivotEngine with the Olap grid, when I close the modal and destroy the Olap panel - everything stops working because pivotEngine.itemSource becomes somehow null.
What happened? It didn’t use to behave like that.
<ng-template #pivotPanelTmpl> <mat-dialog-content> <wj-pivot-panel [itemsSource]="pivotEngine"></wj-pivot-panel> </mat-dialog-content> <mat-dialog-actions align="end"> <button mat-button (click)="pivotPanelModalInstance.close()" mat-stroked-button>{{translationService.staticDictionary['Close']}}</button> </mat-dialog-actions> </ng-template> <div [ngClass]="{'dbg-display-none': !showChart, 'dbg-table-row' : showChart}"> <wj-pivot-chart #pivotChart [itemsSource]="pivotEngine"></wj-pivot-chart> </div> <div class="dbg-table-row-control"> <div class="dbg-control-content-wrapper" (contextmenu)="$event.stopPropagation()"> <wj-pivot-grid #pivotGrid [itemsSource]="pivotEngine"></wj-pivot-grid> </div> </div>
Best regards,
Mary
