Hi VW-list,
I am curious. I have a display with a list. The list is drag-n-drop and let's a user reorder the list items. When I am dragging, the various other elements of the list are outlined one at a time such that when I drop the dragged item, it is dropped above the outlined item. Very consistent. My question is why can I not drag to the bottom of the list? It seems that when the dragged item is below the last list item, an empty outline should appear to show that I can drag to the bottom. The workaround is obvious. Drag to the penultimate position, then move the last item up. But that's clumsy. Any suggestions for improvement or a fix? Or reasons why it doesn't work as I expect? Thanks, _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
On May 9, 2012, at 11:05 AM, Eric Winger wrote: > Hi VW-list, > > I am curious. I have a display with a list. The list is drag-n-drop and let's a user reorder the list items. > > When I am dragging, the various other elements of the list are outlined one at a time such that when I drop the dragged item, it is dropped above the outlined item. Very consistent. > > My question is why can I not drag to the bottom of the list? It seems that when the dragged item is below the last list item, an empty outline should appear to show that I can drag to the bottom. > > The workaround is obvious. Drag to the penultimate position, then move the last item up. But that's clumsy. > > Any suggestions for improvement or a fix? Or reasons why it doesn't work as I expect? A Video Response to your email: http://screencast.com/t/NFa4g9KHgK :) I do see, now that I've recorded this, that you also ask about Doing The Right Thing (™) when the drag-drop is completed. I didn't show that in the video. You can see how what's shown in the video response does the right thing at the end by looking at the dragDrop: method in the same class. HTH -- Travis Griggs Objologist I multiply all time estimates by pi, to account for running around in circles. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Eric Winger
Why don't you just add a blanc item to your list while dragging and remove it when you're finished dropping ? @+Maarten, -----Original Message----- _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Travis Griggs-4
Hi Travis,
I took your drag/drop example in the video, and adapted it to the list in our browser and lo and behold, it worked! Thanks for your help. However, I should point out that your video, while technically accurate, was a little on the dry side. In the interest of a better customer experience, I'd like to recommend that you add a musical sound track next time. Perhaps you could consider ... Puff, The Magic 'Drag on'? :) On May 9, 2012, at 12:27 PM, Travis Griggs wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |