Hello,
I want to drag a whole column outside of the xamDataGrid. The idea is that I can build a list of columns the user wants to be mapped to other properties on another object - kind of data importer/converter. So, the problem seems that I cannot drag the column outside the grid onto any control. There are simply no events happening. Tried to find a few things here in the forum, but I got stuck with too many search results ;)
regards Florian
Hi Florian,
Let me know if you have any questions on the sample.
Let me know if you have any questions on this.
I've attached a sample that shows how you can drag a column out of the XamDataGrid to another control. It uses the standard WPF drag and drop mechanisms. Unfortunately this results in losing the ability to shift column positions within the grid. At this moment there is no way for the two mechanisms to co-exist and allow you to keep column repositioning while also being able to drag the columns out of the grid and onto another control.
I've logged a feature request for this ability and sent it directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12110107.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
The normal behavior for dragging columns in the XamDataGrid is handled by an internal class called FieldDragManager. This is not exposed for use and I don't believe it uses the standard drag and drop mechanisms available so this explains why the drag and drop events don't fire.
I'm consulting with the developers of the XamDataGrid to find out if there is a way to do this. I'll update you once I have a response from them.