I want to implement multiple pivot table in same page, but the second pivot table messed up as both pivot table has same template reference variable(#pivotview).and as pivot tables are being populated dynamically i dont have control over template reference..below is the sample code
<div *ngFor="let config of tableList">
<ejs-pivotview
#pivotview id='PivotView'
allowConditionalFormatting='true'
[dataSourceSettings]='dataSource'
width='{{config.width}}'
[gridSettings]='config.gridSettings'
enableValueSorting='true'
allowExcelExport='true'
(enginePopulated)='enginePopulated($event)'
>
</ejs-pivotview>
</div>
Please help me with this.