Drag item in Datagrid (with scroller)?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keithglong
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 348
Joined: Sun Jul 03, 2011 2:04 am

Drag item in Datagrid (with scroller)?

Post by keithglong » Wed Sep 17, 2014 10:11 pm

Hi All,

I am playing with datagrids today and have a question. Is there a way to have a datagrid on a scroller (for iPhone-type scrolling action) and still be able to select an item and drag/drop it to change the list order? I am trying to duplicate the iPhone "edit" mode in apps that allow you to click on edit, then drag an item in the list to a different position, and then hit "done" when completed. Any example stacks out there?

(FYI: I am successfully able to drag/drop items in a datagrid stack running on a Mac or on a PC, but have been unsuccessful in duplicating the same situation in an iPhone app.)

Thanks,

- Boo
Gulf Breeze, Florida

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Drag item in Datagrid (with scroller)?

Post by Mikey » Thu Sep 18, 2014 3:46 pm

Look up Monte's (free) mergDataGrid.

Someone else had one, too.

Monte's works well, but I like the old version better than the new one, so I use his old library. The primary differences are that the new version scrolls faster, but it also scrolls the header off the screen, if you scroll down.

Post Reply