Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drag and drop event : table not scroll up.

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a table with vertical and horizontal bar. Now I successfully implemented Drag and Drop event, but has a small bug.

When I drag a row to last visible row, the table will automatically scroll down, then I drop. It works. But problem is , when I drag UP to first visible row, the table will not automatically scroll up, I can not go the row I want to drop.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic