Hi Guys,
I need to be able to drag and drop the columns of my XamGrid outside of the grid itself. That is, for example I have on a page: a Border (that should be the drop target) and my XamGrid. Now, I'd like to drag a column onto my border which is outside of the Xamgrid's bounds.
I was thinking on using the DragDropManager, but after subscribing to ColumnLayoutAssigned event, calling DragDropManager.GetDragSource(myGrid.Columns[0]) always returns null. I assume this is normal and I should be able to use this with the visual itself and not the Column instance, right?
Can you provide me with information on being able to drag a column outside of the xamgrid control?
I managed to create the drag and drop operation using DragDropManager and filtering out what I need. But now, the columns sorting and the columns resizing fails.
I'm using the following version of XamGrid: 10.3.20103.1006. Is this a known issue perhaps?
Hello,
You can look at this post where you can find attached sample that shows how you can fix this behavior. Let me know it works for you.
Best regards.Plamen.
Hi and thanks for the post
I was able to solve the resizing problem, but the sorting still fails. Also, please note that I don't want to drag the rows, but the column headers outside of the grid, so the row drag drop solution posted is not helping me for what I need.
Best regards.