Row Drag and Drop in Blazor DataGrid is not working

i am using Syncfusion.Blazor 28.1.38, when I use the Drag and Drop within same grid. It has the following error in the browser:


blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: The call to 'ReorderRows' expects '15' parameters, but received '13'.

   at Microsoft.JSInterop.…[] parameterTypes)

   at Microsoft.JSInterop.…, String argsJson)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime,…fo, String argsJson)

    at It.endInvokeDotNetFromJS (blazor.server.js:1:3722)

    at blazor.server.js:1:71961

    at Array.forEach (<anonymous>)

    at It._invokeClientMethod (blazor.server.js:1:71947)

    at It._processIncomingData (blazor.server.js:1:69989)

    at It.connection.onreceive (blazor.server.js:1:64392)

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


1 Reply

PS Prathap Senthil Syncfusion Team January 10, 2025 03:28 AM UTC

Hi Vishakha Velari,

We are unable to reproduce the reported issue when attempting to reproduce the issue in version 28.1.38. For your reference, we have attached a GIF file and a simple sample. So, to
further proceed with the reporting problem, we require some additional clarification from your end. Please share the below details to proceed further at our end.


  • Share with us the way you have referred scripts and styles at your end.
  • Could you please ensure that you clear your browser cache and delete the bin and obj folders, then cross-verify whether the issue still persists?
  • To analyze the reported issue, could you please share a simple and reproducible sample that demonstrates the problem? This will assist us in identifying the issue more efficiently and providing a resolution.
  • Kindly share your attempt to replicate the issue using the attached simple sample.

Above-requested details will be very helpful in validating the reported query at our end and providing a solution as early as possible. Thanks for your understanding.

Sample:
https://blazorplayground.syncfusion.com/embed/hZVINMtuVgTTrBev?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5

Additional reference:
https://blazor.syncfusion.com/documentation/datagrid/row-drag-and-drop?cs-save-lang=1&cs-lang=csharp#drag-and-drop-within-grid


Regards,
Prathap Senthil


Attachment: GIF_RowDragAndDrop_fda824dc.zip

Loader.
Up arrow icon