Drop-down list of texts for subtitle structure

I am having a look at this, working with listviews, got first and view of second levels sorted, second level and view of third level is exponential!

I'm also working on it, but to continue, I need to get the title and subtitle in different tags.

With this, I can now link it to the screens.

image

Let me suggest to use the local sqlite database, you can have as much columns as you like and have nested listviews with n dimensions, just store your data in a table

For example to get the first column

SELECT A FROM myTable GROIUP BY A

Then after picking an item from Listview1

SELECT B FROM myTable WHERE A = Listpicker1.Selection GROIUP BY B

Then after picking an item from the Listview2

SELECT C FROM myTable WHERE A = Listpicker1.Selection AND B = Listpicker2.Selection GROUP BY C

There is my paid sqlite extension App Inventor Extensions: SQlite | Pura Vida Apps available, which follows the KISS principle (Keep it simple stupid), there are also other sqlite extensions available

Taifun

Try this:

expLV.aia (10.1 KB)

Uses 5 listvews, no extensions (@ABG would be proud :wink: ). In essence when an item is selected, the listview is split in two, to display the sublist between the two upper level listviews.

Not possible to set text colour of selections...

image

1 Like

This is one way to show structure in a Label

This sample shows how to represent a tree structure in a table, and one way to offer navigation within the tree

It's not just the color of the selected text.

The other thing is the space generated from row to row.

It's much more voluminous.

Is there any way to reduce it?
I've already tried reducing the field in pixels and it crops it.

If you are referring to the listviews approach, there is no method/property to reduce the padding above and below the text, you can try reducing the font size, looks like this with Font reduced from 22 to 14:

image

There maybe listview extensions available that can help you with this further.

1 Like

I'd like to simplify the text into a single variable so I don't have to repeat it in each column.

It won't let me.

It will...

image

1 Like

This time, I'm trying to set restrictions for users (A and B), for example:

User A will have access to (Column A 01).
User B will have access to (Column A 02, Column A 03).

I've already managed to hide it, but it leaves me with an empty space. What I'm looking for is:

For the text to be displayed, and for it to not have any action that would take me to the next column.

And if possible, change the color from black to gray.

Or, if not, eliminate this empty space that's creating space.

Question:
Can variables be disabled?
So as not to delete content.

Regards.

expLV (1).aia (15.1 KB)

Disable (name)
What I'm trying to do is:
When screen starts, I get the text (aaaaa) in the label (x) with the variable (name).

I try to disable (name) with the button.
Then I can enable it with another button.

I don't understand the purpose of this block.
image

Perhaps my approach is flawed. Could you give me an example?

Store their values in tinydb
Don't use any blocks that might overwrite the content

image

where does this block come from ?