hi,
I would like to have a three list picker or spinners one after the other and the second one(element) will be dependent on first's selection value and same for third being dependent on second's value.
Please guide me. attached is a sample csv
dependent list.csv (195 Bytes)
Do you mean to have casecading of listpicker,
After selection of a value in first list picker, the second listpicker should get values from corresponding values from csv. likewise for third from second
i cannot match with exact value check (like selection = "XYZ") for every value
hope i am clear
First I would recommend to read and do it the following tutorial, most of details are covered. You can also share your findings/analysis.
This tutorial will show you how to work with a list and TinyDB.
Level: Beginner/Intermediate
You will learn:
How to create a list and save items to it
How to save the list to a TinyDB
How to set the list when opening the app
How to set a listpicker elements to a list
How to delete an item from the list
How to avoid duplicates in a list
This tutorial also shows:
How to use a procedure in your workflow
How to build a "list display" in a label
How to use the notifier for information and…
Appreciate, but the tutorial is about creating a new list - i want to get data in to list picker form CSV.
Thank, but you need to share your efforts/work since how to put everything on table, ready to have.
Use the file component to read the file, then convert to a list using the "list from csv table" block.
Because you have the name per line, you will have a list of lists, so you will need to select item with index1 of each item to get the value.
Learn about using lists:
Lists by Sajal Dutta
Lists appinventor.org
General Tutorials
Creating csv manully using comma and \n for enter key
Using File component
Your CSV
ABG
March 17, 2022, 3:46pm
9
See this sample app ...
It needs updating to load its table from a file, instead of hardwired blocks.
1 Like