Are there any current examples showing WPF drag & drop functionality around your xamDataGrid? I am implementing a hierachical grid, and my users needs to be able to reorder data within a parent group, or drag a record from one group to another; all within the same grid.
Thanks.
Actually, yes. What's the minimum I need to do to a xamDataGrid such that it supports the DragDropManager, which in turn allows me to easily identify onto what DataItem the drop event is occurring. The DropEventArgs has the DropTarget member, which is exactly what I need. Can I use the DragDropManager without re-templating the DataRecordPresenter?
It seems like a ton of work for the simple requirement of: "Onto what grid hierarchy is the drop occurring?"
Seth
PS: I was never able to get your sample to work correctly, but didn't spend a lot of time debugging. Probably missing a reference.
Hello Seth,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your reply. I have been into your question and the XamGrid control is not meant to replace the XamDataGrid control. The XamGrid originally came from Silverlight and it was released for WPF in 11.2 release. You can read more detailed information regarding the differences between the two controls in following article in our online documentation: http://help.infragistics.com/NetAdvantage/WPF/2012.1/CLR4.0/?page=Differences_Between_xamGrid_and_xamDataGrid.html
Please let me know if you need any further assistance on the matter.
The example you sent with the XamGrid seems to work fine. Last questions (hopefully), then we can close this string...
Does the 12.1 XamGrid replace the 11.x xamDataGrid? Before I plunge into converting a pretty good sized project, I'd like to confirm functionality. I realize this question is off topic, but it is relevant to the string. I'll research on my own as well.
Thanks!
Thank you for your response. I have been looking into the behavior that you have described and implementing the Drag and Drop functionality using the WPF’s DragDrop class. I have modified the sample application that I have sent you previously in order to demonstrates how you can implement this functionality. I have also created a sample application for you that demonstrates how you can implement drag and drop functionality between the rows in the XamGrid.