Pivot AllowExcelExport Error Cannot read property length

Good Morning,
If I have activated the property "AllowExcelExport" on the Pivot control, it show this error on the 2nd Databind/Refresh

Syncfusion version: 18.3.0.40

cannot read property 'length' of null
TypeError: Cannot read property 'length' of null
    at Object.getModelObject (http://localhost:65364/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:150808)
    at Object.updateOldProperties (http://localhost:65364/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:151282)
    at Object.setModel (http://localhost:65364/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:149878)
    at http://localhost:65364/_framework/blazor.webassembly.js:1:9873
    at new Promise (<anonymous>)
    at Object.beginInvokeJSFromDotNet (http://localhost:65364/_framework/blazor.webassembly.js:1:9841)
    at _mono_wasm_invoke_js_marshalled (http://localhost:65364/_framework/wasm/dotnet.3.2.0.js:1:171294)
    at do_icall (<anonymous>:wasm-function[6049]:0x10f8b1)
    at do_icall_wrapper (<anonymous>:wasm-function[1896]:0x50b6a)
    at interp_exec_method (<anonymous>:wasm-function[1120]:0x2588e)

2 Replies

DI Dionisio November 12, 2020 04:29 PM UTC

After a long day of testing and trying to solve this issue :
The Pivot .Databind is causing this problem.

And also, if you do .Export()  and then use StateHasChanged create the problem ...


ME Mouli Eswararao Syncfusion Team November 13, 2020 11:29 AM UTC

Hi Dionisio, 
Thanks for contacting Syncfusion support. 
We are unable to reproduce the error at our end could you please provide us a sample or reproduce the same in the below provided sample.

Sample:  https://www.syncfusion.com/downloads/support/directtrac/general/ze/Pivot_Table-1742861037

Regards,
Mouli
 


Loader.
Up arrow icon