SfGrid drag and drop target in child component

We have a blazor component that has a SfGrid instance and some other controls and code etc. lets call it myplanner.razor

<SfGrid @ref="mygrid" >
...
</SfGrid>

then in another component we use 2 instances of that component

<div class="row">
  <div class="col-6">
      <myplanner />
   </div>
   <div class="col-6">
      <myplanner />
   </div>
</div>

Question is how can we set the drag and drop target in the SfGrid so we can drag and drop between the 2 grids in these components?

thanks for any jhelp

Mik



2 Replies

MS Michael Salzlechner April 11, 2024 12:35 PM UTC

Never mind. brainfart. thought it was using the reference. works just fine with the id and targetid




VN Vignesh Natarajan Syncfusion Team April 12, 2024 03:38 AM UTC

Hi Michael, 


Thanks for contacting Syncfusion support. 


We are glad to hear that you have resolved your query on your own. Please get back to us if you have further queries. 


Regards,

Vignesh Natarajan


Loader.
Up arrow icon