Hi Guys,
Can we drag and drop from the XamdataGrid to another control in reliable/stable manner and also not break the Grouping functionality/Moving columns functionality ?? The only way I can achieving dragging from the XamDataGrid by hooking on to the label presenter breaks this or is unstable. Is this reliably possible given the current XamDataGrid drag and drop framework??
Cheers,
Anand
Hello Anand,
I am just checking if you have any other questions on the matter.
Anand,
XamDataGrid has internal logic for dragging and dropping the labels to the groupedby area which can interact with the custom drag and drop functionality you have added to the grid. In that case I would suggest you to use the approach Rob has suggested you in the following forum thread and handle the PreviewMouseLeftButtonDown event to implement the drag and drop functionality: http://ko.infragistics.com/community/forums/t/94997.aspx
Maria I was not talking about the actual records in the Grid. I was talking about the Label Presenters aka the Column headers in the Data Grid. I want to drag and drop the column headers elsewhere without breaking the column header grouping and moving columns around functionality. Is this reliably possible??
Infragistics Drag and Drop framework is not dedicated for dragging and dropping records only within XamDataGrid. You can use the framework to drag grid’s records and drop them in XamDataTree as it is shown in the attached sample project. If the user group by any field the drag and drop will continue to work.Please let me know if you need additional assistance on the matter.