Hi,
I am using the sample from Elena to have drag & drop functionality in my XamDataGrid:
http://community.infragistics.com/forums/t/68238.aspx
Problem is, I still have a few issues which you maybe can help me with:
Any ideas or suggestions?
Thanks a lot for helping!
Hello Sue,
Thank you for your post. I have been looking into it and if by "Dynamic Columns" you mean that the Columns are generated automatically I can say that the solution posted in the previous post should work for you.
I have a followup question. Can this drag and drop be done for XamDataGrids with Dynamic Columns?? I have an MVVM project which has dynamic columns and dynamic rows.. The user should have the ability to add new rows and also move rows up/down (either drag and drop or by a click of a button)
Any suggestions on this will be of great help..
thanks,Sue
Hello Gawain,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Thanks for your help!
I have modified the sample you sent me, so now it works as you want. Basically I changed the Names of some of the Fields, because they should be the same as the Data object Properties. Here it is explained in details how the FieldLayout’s Mapping works:
http://es.infragistics.com/community/blogs/petar_monov/archive/2011/05/13/how-to-define-fieldlayouts-how-fieldlyouts-are-mapped.aspx
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.