I have a problem, when I add enginePopulated to my pivot to perform certain functions, the function to download the excel doesn't work and throws this error.
I tried to replicate this error on stackblitz but it works fine.
https://stackblitz.com/edit/ed7dya-kv2z4l?file=index.js
The only difference is that I am handling an eval to transform the pivot configuration from text to javascript code.
for example:
data = eval(elem_unimeds.gridOptions.enginePopulated);
eval("elem_unimeds.gridOptions.enginePopulated=" + this.fun);
//Inicializa el grid (Detalle)
var pivotObj = new ej.pivotview.PivotView(elem_unimeds.gridOptions);
pivotObj.appendTo("#" + elem_unimeds.grid_id);
I hope you can help me with some suggestions. Thanks in advance.