Hi,
Is it possible to drag - drop the rows in XamWebGrid.v10.1.
I want to drag and change the order of the rows. (Eg: Need to drag row3 to the position of row 5 and vice versa ).Is this supported? Can somebody point out an example.
Thanks
rramapan
Please, find the attached in the attached file a sample for how you could achieve that.
You would need to retemplate the Grid as well as the CellControl.
HTH,
I was attempting to apply this to a project I have. I'm using 10.2 so I had to re-work it a little and it works fine in your test project. However in my project I use DomainDataSources and when I attempt to move rows using the following(from your project) there is an exception. I was wondering if you had any insight on how to get this working when RIA Services/DomainDataSources are involved?
tmpRow = (
Row)sourceCell.Cell.Row;
tmpRow.Delete();
grid.Rows.Insert(targetCell.Cell.Row.Index, tmpRow);
The exception is DataSourceDoesNotSupportIListException and it seems like it could possibly be related to this thread: http://blogs.infragistics.com/forums/t/30552.aspx
RIA support should be provided in XamGrid with 10.2, could you please confirm that you are using 10.2 build (1029)?
Thanks,