Hello, I have a problem with getting the Sequence of ordered items after a Drag & Drop
The FLV_ModelDropped event fires and the FastListView displays its items correctly. Good.
e.SourceModels has the correct items. Good.
I need to capture the reordered sequence while inside the FLV_ModelDropped event so I can persist it to another list.
FLV.GetItem(index) returns the WRONG sequence of items while the code is still in the event handler.
FLV.GetItem(index) returns the right sequence once the event handler finishes and the function exists, when testing with a seperate function call.
It seems the event triggers prematurely before the listview is properly updated.
How do I get the correct sequence of all items, while in the ModelDropped event handler ? (Dropped to me is past tense, so the drop event should have occured)
Is there another efficient way to capture the final sequence of (test case) 100,000 items ?
Is there a way the FastObjectListview can update the sequence of the underlying List, since the OLV is doing some sort of resequencing internally already ?
I read http://objectlistview.sourceforge.net/cs/dragdrop.html#dragdrop-label already
thank you
nevermind....I had been struggling with this for a while but I ansered my own question
the event handler .Dropped behaves as expected and has the final sequence