Greetings all,

I have a list that allows drag n' drop operations.

However I also want to implement a 'reset' operation where the list
will  rearrange all the items in the correct order.

So the obvious way is to do :

  List.ListDataProvider.sort = _mySort;
  List.ListDataProvider.refresh()
  List.ListDataProvider.sort = null;    

Assuming ListDataProvider represents the list's data provider and
_mySort is a Sort type that rearrange all my items in the correct order

However once I perform this operation, I find that the next time I
will do a drag & drop then the item that I will drag will stay in
place (but will not be selectable) and the drag will perform, meaning
there will be 2 copies of the same item in my list...

Any ideas ?     


Reply via email to