Csv file to listview

sample.txt (1.7 KB)
i am changing this file extension “sample.csv” to “sample.txt” due to uploading problem
and that font is my mobile font

The file contents look like well formed csv text.

Try the split at \n instead of the csv table block for loading the Elements from the incoming text.

On further thought, the …s look to be an artifact of the ListView deciding early on how much text it wants to display per element, and clipping the rest to keep uniformly sized boxes.

Instead of loading the .Elements from the csv table or the text feed directly, write a procedure to format a summary of each table row for the ListView, and use the SelectionIndex to reference the base global table to access the corresponding selected row number.

Look for a very thin scroll bar at the right of the ListView.

(I like List Pickers better than ListViews for big lists like this.)

It seems that everything is working correctly. list from csv table returns a list of lists. If you plug that block into a listview, it will be converted to a string, showing a part of the nested data. You would have to work out how you want your nested data displayed. Here are some guides for lists

credit goes to @Taifun

1 Like

Please solve this problem and please send me blocks

Here is a pre-existing sample of how to format a List Picker's Elements before they are loaded...

It's not exactly a custom solution for your address book, but it has the ideas you can apply to build your own solution.

I will try my level best.thanking for u spending your valuable time for me

Please recommend another one. this is not used for my problem

i think may be the csv file convert to splited text before adding to listview. if this possible to make please share block

Try this:

addressList.aia (5.3 KB)

BLOCKS

2 Likes

ho my god this is working.thinking you sir

i’m make a form. i fill the form and save in csv file(storage).
now what i want how to edit this form using id number.
if possible to make please send me blocks.
the csv file is here

thanking you

What have you tried ? What works what doesn’t work?

Just giving you blocks will mean you will never learn how to do these things yourself

Have you studied lists and done any tutorials ?

1 Like

sorry sir if i doing any wrong.i’m just learning and practicing somthing.im not studied about this.
i’m not a software student. i’m just interested about this.i’m searching in internet i find this website so i’m start learning here.i saw so many tutorials in youtube but there i cont find solution for this type of problems so i asking here to improve my knowledge.finally i have poor communication skills really sorry about that.

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 Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thank you sir, but i need your help on this

please help me sir

see this answer by @TIMAI2

so what have you tried?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

now check it and how to textboxes data replace already exist data in csv file with using id number

list.aia (13.9 KB)

please help me anyone