Posted 26 November 2024, 4:13 pm EST
When attempting to create a new pivotpanel, I am getting an error
Uncaught TypeError: e.dh.addPivotView is not a function
This error occurs when running below
panelControl = new GC.Spread.Pivot.PivotPanel(pivotTable.name() + '_panel', pivotTable, $dialog.find("#pivotpanel")[0]);
I tried updating to use below but in this case there is no error occurring but the panel area just shows blank
panelControl = new GC.Spread.Pivot.PivotPanel(pivotTable.name() + '_panel', pivotTable, document.getElementById('#pivotpanel');