0 Replies Latest reply on Apr 6, 2009 9:32 AM by fccobb

    DataGrid Column Sort Prevents Drag From Updating DataProvider

      Hi

       

      I have a datagrid with an XMLListCollection as the Data Provider.

       

      I have dragging set on so that when I drag a row to somewhere else in the list the XMLListCollection gets updated just fine and so does the DataGrid.

       

      However, if a column sort has previously been set this seems to stop the XMLListCollection being updated on the drag.

       

      I have tried setting the sort property on the XMLListColelction to null and then doing a refresh - this works to a point but it restores the default sort order which is not really what I want as the user may wish to continue from where the column sort got them to.

       

      I was wondering if anyone had any suggestions please ?

       

      Thanks a lot.

       

      Chris