I don't want to complicate things further.
I see how I manage windows.
For that, I just need to get the title of the selected item in the first column.
I already got the subtitle in one label.
How do I get the title in another label?
I tried this, but it didn't work.
This is how I need it.
TIMAI2
October 3, 2025, 11:37pm
21
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.
Taifun
October 4, 2025, 12:38am
23
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
TIMAI2
October 4, 2025, 10:44am
24
Try this:
expLV.aia (10.1 KB)
Uses 5 listvews, no extensions (@ABG would be proud ). 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...
1 Like
ABG
October 4, 2025, 12:21pm
25
Here is a useful utility (Tidy) to show the structure of a given value:
tidy.aia (3.6 KB) [tidy] [tidy_helper]
sample output:
[top of output]
This works best in conjunction with the AI2 Do It debugger.
P.S. These blocks can be dragged directly into your Blocks Editor workspace.
This is one way to show structure in a Label
ABG
October 4, 2025, 12:34pm
26
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.
TIMAI2
October 4, 2025, 3:41pm
28
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:
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.
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.
Perhaps my approach is flawed. Could you give me an example?
TIMAI2
October 8, 2025, 11:22am
33
Store their values in tinydb
Don't use any blocks that might overwrite the content
where does this block come from ?
There's still empty space left.
I saved a text (Colum A 01) in tinyDB at startup, which will be the first variable.
And when I click the button,
If A=Key, I see
Colum A 01
Colum A 02
Colum A 03
But
If A≠Key, I see
Colum A 02
Colum A 03
It should delete the contents of the variable,
but it still creates empty space.
I NEED TO DELETE THAT SPACE
TIMAI2
October 10, 2025, 12:36pm
35
The text Colum_A will always equal another text Colum_A...so not much point in doing this test...
That restriction doesn't have much to do with it; it's a way of grouping blocks.
This is what should be restricting, and if it is, that's why the empty field is generated when the text field is different from "A."
(Watch the video)
TIMAI2
October 10, 2025, 4:21pm
38
What method are you using to create the dropdown list?
Can't delete that empty space
FILE ATTACHED
expLV (2).aia (18.0 KB)