Posted 21 November 2018, 4:42 am EST
TS:
var ng = this.thePivotPanel.engine
ng.rowFields.push('Country');
ng.valueFields.push('CQ_WK1');
if I don’t add the above two line then no error but grid is not loaded as there is no rofields and values fields
HTML
<div class="mdl-cell mdl-cell--4-col">
<wj-pivot-panel
#thePanel
[itemsSource]="rawData">
</wj-pivot-panel>
</div>
<div class="mdl-cell mdl-cell--8-col">
<wj-pivot-grid
#pivotGrid
[itemsSource]="thePivotPanel"
[showSelectedHeaders]="'All'">
</wj-pivot-grid>
</div>
