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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drag and drop on multiple page grid?

Status
Not open for further replies.

EMJULIAN

Programmer
Aug 14, 2002
45
US
I am doing a drag and drop on a grid. I use a gridhittest to determine which row they start on (which corresponds to the record in the table), and another to determine the row (and record) that they drop on. I copy the source and destination info to an array and then swap them (source to destination, destination to source). It's probably not the most efficient method, but it works.

My question is, how can I fugure out which record they are on if they scroll down the grid? The gridhittest gives me the relative row, so how do I determine which record I am on after a scroll?

Thanks,
Eve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top