PagedDragDropGrid icon indicating copy to clipboard operation
PagedDragDropGrid copied to clipboard

The Order

Open qianyuebits opened this issue 12 years ago • 5 comments

Hello,I find a problem existing in the project:for example, if some items displayed as the order:

"item 1, item 2, item 3, item 4, item 5, item 6, item 7"

When I move the item 7 to the position between item 2 and item 3, the items become disordered. It's not "item 1, item 2, item 7, item 3, item 4, item 5, item 6". In fact, according to the source code, I find that when item 7 is moved, it is changed with the view item7 goes by and I think it's not reasonable.

I hope the logic will be like the logic in https://github.com/thquinn/DraggableGridView. Can you sove this problem kindly?

qianyuebits avatar Jan 16 '13 15:01 qianyuebits

Hi,

the requirement i had when i created the view was to swap views and not to reorder them like in DraggableGridView.

So the behavior of the view will not be changed/discarded.

That being said, i think this would be a good feature to add your expected behavior in the project.

I cannot give you a time frame of when this will be available because for now i am really not available to add it in the short term.

I will keep your issue opened as a reminder until it is implemented.

mrKlar avatar Jan 16 '13 23:01 mrKlar

I too want this enhancement happened ASAP..

subaira avatar May 22 '13 13:05 subaira

I'm working on the vertical scrolling right now, and it is a big change. You can contribute if you want it sooner.

mrKlar avatar May 22 '13 13:05 mrKlar

I'm interested in this as well. The current system makes it very difficult to reposition an item without disturbing the rest. An option to preserve the existing order except for the item being moved would be very welcome.

paour avatar Jul 17 '13 14:07 paour

I am working on this feature + I have added listeners for drop events.

asafvala avatar Aug 18 '13 23:08 asafvala