datagrid in a scroller vs List Items

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Coffee1633
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 219
Joined: Mon Dec 05, 2011 5:35 pm

datagrid in a scroller vs List Items

Post by Coffee1633 » Sun Sep 29, 2013 10:00 am

I am trying to replicate all the animation nuances of a note taking app. Where on the first screen there is a list of the note titles held in a sqlite database and on the second screen are the notes associated with each individual title.

I have elected to take the route of datagrid inside a scroller for screen one and a multiline control for screen two. The problem is, is it better to go with a (a) a datagrid inside a scroller or just use (b) a bunch of buttons and such (mobgui would call them "list items" with the little ">" on the right side. The reason I am still debating about which route to use is because I would like to copy all the cool animations that accompany the deleting of a note. If you delete a note from the middle it seems that recreating the sliding out and moving up animation would be easier with individual "list item" buttons but nearly impossible with a datagrid.

Any idea as to which method would be better to use if you are going for a smooth animation effect? A datagrid inside a scroller or individual customized buttons?

The thing is that the individual customized buttons would seem to be a pain to manage but the if I go with the datagrid then the animation is impossible. I forget what Xcode calls this type of UI element but is there some premade stack that mimics this functionality or is it not general enough?

Coffee16

Post Reply