List View with multiple columns

4,461 views
Skip to first unread message

bobonoinc

unread,
Jan 13, 2016, 11:42:24 AM1/13/16
to MIT App Inventor Forum
I am familiar with List View and from the documentation it seems that it can only display a single column (i.e., one dimensional list). Is there something that can display more than one column (a multi-dimensional array) so that when scrolled, the indexed items scroll together?

Also, I see that the width of the List View can be changed, but can the distance between list entries be changed and can a grid be imposed?

I am interested in creating a spreadsheet-like app but with only 3 columns and without all the capabilities of a spreadsheet (just enter, delete, edit and perhaps, sort).

Thanks in advance.

Taifun

unread,
Jan 13, 2016, 12:01:42 PM1/13/16
to MIT App Inventor Forum

bobonoinc

unread,
Jan 13, 2016, 1:49:25 PM1/13/16
to MIT App Inventor Forum
I don't find Dynamic Table Layout in AI2; is it only available in AI? Or perhaps it is the same as TableArrangement in AI2???

Thanks

Taifun

unread,
Jan 13, 2016, 2:25:31 PM1/13/16
to MIT App Inventor Forum
???
you might want to take a look again at the provided links
both examples use App Inventor 2
Taifun

bobonoinc

unread,
Jan 13, 2016, 2:54:15 PM1/13/16
to MIT App Inventor Forum
Thanks again. I didn't realize that your suggestions were hyperlinks.

Bob

bobonoinc

unread,
Jan 15, 2016, 3:24:49 PM1/15/16
to MIT App Inventor Forum
Please pardon the elementary questions but I'm having trouble finding Notifier1 and File1. Specifically, how do I create the blocks "call Notifier1", "call File1" and "when File1 get text"? Notifier1 and File1 do not appear as options in these blocks.

Also, am I correct in assuming that editable.html is the same as table.html from your other dynamic table example?

Thanks.

Taifun

unread,
Jan 15, 2016, 3:44:26 PM1/15/16
to MIT App Inventor Forum
you are correct, these are very basic questions...
well, you can find the notifier in the user interface drawer and the file component in the storage drawer... don't hesitate to look around a little bit...

and concerning my examples, the editable example is the editable version of the table example, which is only to display a table, hope that helps...
don't hesitate to test the examples to find the difference yourself...

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         



Reply all
Reply to author
Forward
0 new messages