We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Pivot Table: can't drag and drop in field settings (Blazor Server)

Hi,



within a Blazor Server app, from time to time, in SfPivotView, drag an drop in field list settings does not work.



<PackageReference Include="Syncfusion.Blazor.PivotTable" Version="20.2.0.43" />

<PackageReference Include="Syncfusion.Blazor.Themes" Version="20.2.0.43" />




Once the app starts, all works as expected. The drag and drop stops working afterword.



Browser side error:



  Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '24'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(:5064/Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5064/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

    at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)

    at blazor.server.js:1:72077

    at Array.forEach (<anonymous>)

    at kt._invokeClientMethod (blazor.server.js:1:72063)

    at kt._processIncomingData (blazor.server.js:1:70105)

    at connection.onreceive (blazor.server.js:1:64508)

    at o.onmessage (blazor.server.js:1:48842)

endInvokeDotNetFromJS @ blazor.server.js:1

(anonymous) @ blazor.server.js:1

_invokeClientMethod @ blazor.server.js:1

_processIncomingData @ blazor.server.js:1

connection.onreceive @ blazor.server.js:1

o.onmessage @ blazor.server.js:1

common.js:39 previous URL: https://https://?:?/client/graphic

common.js:39 current URL: https://https://?:?/mkt/grid

common.js:39 no window definitions match https://https://?:?/mkt/grid

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '39'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(:5064/Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5064/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)

at blazor.server.js:1:72077

at Array.forEach (<anonymous>)

at kt._invokeClientMethod (blazor.server.js:1:72063)

at kt._processIncomingData (blazor.server.js:1:70105)

at connection.onreceive (blazor.server.js:1:64508)

at o.onmessage (blazor.server.js:1:48842)

endInvokeDotNetFromJS @ blazor.server.js:1

(anonymous) @ blazor.server.js:1

_invokeClientMethod @ blazor.server.js:1

_processIncomingData @ blazor.server.js:1

connection.onreceive @ blazor.server.js:1

o.onmessage @ blazor.server.js:1

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '2'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(:5064/Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5064/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)

at blazor.server.js:1:72077

at Array.forEach (<anonymous>)

at kt._invokeClientMethod (blazor.server.js:1:72063)

at kt._processIncomingData (blazor.server.js:1:70105)

at connection.onreceive (blazor.server.js:1:64508)

at o.onmessage (blazor.server.js:1:48842)

endInvokeDotNetFromJS @ blazor.server.js:1

(anonymous) @ blazor.server.js:1

_invokeClientMethod @ blazor.server.js:1

_processIncomingData @ blazor.server.js:1

connection.onreceive @ blazor.server.js:1

o.onmessage @ blazor.server.js:1

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '12'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(:5064/Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5064/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)

at blazor.server.js:1:72077

at Array.forEach (<anonymous>)

at kt._invokeClientMethod (blazor.server.js:1:72063)

at kt._processIncomingData (blazor.server.js:1:70105)

at connection.onreceive (blazor.server.js:1:64508)

at o.onmessage (blazor.server.js:1:48842)

endInvokeDotNetFromJS @ blazor.server.js:1

(anonymous) @ blazor.server.js:1

_invokeClientMethod @ blazor.server.js:1

_processIncomingData @ blazor.server.js:1

connection.onreceive @ blazor.server.js:1

o.onmessage @ blazor.server.js:1

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '27'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(:5064/Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5064/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)

at blazor.server.js:1:72077

at Array.forEach (<anonymous>)

at kt._invokeClientMethod (blazor.server.js:1:72063)

at kt._processIncomingData (blazor.server.js:1:70105)

at connection.onreceive (blazor.server.js:1:64508)




No server side error.


Can you please suggest?


7 Replies

YH Yi Han December 1, 2022 08:55 AM UTC

the drag/drop can stop working even before the js error.



YH Yi Han December 1, 2022 08:59 AM UTC

when it stops working, even with another browser tab/with another browser/with browser private session( Incognito ), the feature does not work.



YH Yi Han December 1, 2022 09:17 AM UTC

with an old version , can't reproduce the problem.

<PackageReference Include="Syncfusion.Blazor" Version="19.4.0.53" />

 



RG Rajeshkannah G Syncfusion Team December 2, 2022 09:51 AM UTC

Hi Yi Han ,


We have checked the reported query in latest version v20.3.0.59 and we are unable to reproduce the issue. Meanwhile, we have prepared a sample and video for your reference.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PIVOTT~1-830556365

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Pivot_Table340333840


Please refer the following UG document link for upgrading to latest NuGet package.


Document:
https://blazor.syncfusion.com/documentation/upgrade/upgrade-syncfusion-blazor-nuget-packages



If the problem persists, please reproduce it in the provided sample and revert to us (or) send your sample that replicates the problem. This would allow us to investigate the reported problem at our end and provide a solution as soon as possible. 




With regards,

Rajeshkannah Gopalakrishnan



YH Yi Han December 2, 2022 02:15 PM UTC

Hi Rajeshkannah 


Thanks for your reply!


in your sample code on SfPivotView, I added 

AllowDataCompression=true EnableVirtualization=true 

the app does not work anymore.

no particular error in server side neither browser side.

Can you pls suggest? 

Thx

Yi



AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 5, 2022 03:44 PM UTC

Hi Yi Han,


This was the known issue, and it has now been resolved. Moreover, this issue fix will be available in our upcoming Vol 4 Main release, which is scheduled to be released at December 16, 2022.


Regards,

Angelin Faith Sheeba.



RG Rajeshkannah G Syncfusion Team December 22, 2022 11:29 AM UTC

Hi Yi,


We are glad to announce that our Essential Studio 2022 Volume 4 Main Release V20.4.38 is rolled out and the fix for the issue “Can’t drag and drop in field settings when AllowDataCompression is enabled” has been included in this release. Please refer the following sample.


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/PivotScalingProblem_EnableVirtualization-1014040538


Output screenshot


Release Notes: https://blazor.syncfusion.com/documentation/release-notes/20.4.38?type=all#pivot-table


Please let us know if you have any concerns.


Regards,

Rajeshkannah Gopalakrishnan


Loader.
Up arrow icon