How to register for the Drop event in the Details grid of a Master/Details grid
I'm trying to register for the Drop event in a master/details grid to be warned when a row is dropped on a detail grid.
If I try to do this as follows:
dataGrid.RowDragDropController.Drop += OnRowDropMaster;
grdSubOrders.RowDragDropController.Drop += OnRowDropChild;
then OnRowDropMaster is called when dropping on a master row, but OnRowDropChild is never called.
(dataGrid is the main grid, grdSubOrders is the Details view grid definition)
See the example attached.
If you run it, then expand the first 2 lines and then drag a subrecord on the second line to the subrecords on the first line you'll see that the record moves on the grids, but the drop event is never called.
Attachment: WpfSyncfusionGridTest_627011fb.zip
Hi Stefan Cuypers ,
We have checked the reported issue “Row drag and drop events are not properly considered for the Master-Details View DataGrid” on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our NuGet release Which is scheduled on June 25, 2024.
You can track the status of this report through the following feedback link,
Feedback Link: Row drag and drop events are not properly considered for the Master-Details View DataGrid in WPF | Feedback Portal (syncfusion.com)
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
We would like to let you know that Essential Studio Weekly NuGet packages (v26.1.39) has been published in nuget.org with the fix for the issue “Row drag and drop events are not properly considered for the Master-Details View DataGrid”. Please let us know if you have any concerns in this.
Malini Selvarasu
Hi Malini Selvarasu,
Thanks a lot for the excellent support. It indeed works with the latest version!
Regards,
Stefan Cuypers
Hi Stefan Cuypers,
You're welcome. Thank you for your valuable feedback and appreciation towards our support. We are glad it works for you in the latest version. Please open a new forum if you encounter any new issues; indeed, we are delighted to help you.
Regards,
Jayashree
- 4 Replies
- 4 Participants
- Marked answer
-
SC Stefan Cuypers
- May 30, 2024 03:14 PM UTC
- Jun 26, 2024 09:56 AM UTC