Author Topic: Moving around items in a list  (Read 2882 times)

benjaben

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Moving around items in a list
« on: September 21, 2013, 01:45:00 PM »
Say I have list of objects in a UIGrid and they are within a UIDraggablePanel. How could I make it to where I could take one of the objects in the UIGrid and drag and drop it somewhere else in the grid?

Like if I had a Grid of 10 cards in a vertical row and I clicked 1 and dragged it down, and the others auto-moved up or down depending on where the I dropped the card back in.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Moving around items in a list
« Reply #1 on: September 21, 2013, 09:21:51 PM »
Custom behaviour. NGUI doesn't have out-of-the-box solution to do that for you.