Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drag/drop after a listview API sort

Status
Not open for further replies.

protechdm

Programmer
Joined
Dec 30, 2001
Messages
36
Location
GB
Hello,

I have successfully got around the problem of sorting a numeric/date column correctly using API functions. My concern now is that when I drag/drop a row onto another the indexes are wrong i.e. it has not updated the underlying index properly and drops a completely different row onto the target. Basically what is happening is that all the rows that have the property "SELECTED" set to true are referenced by their index before the API sort which is what gives the incorrect selected rows and it goes from there.

Anyone come across this before??

Glyn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top