team_duarte
(Vaiper watafai)
September 8, 2021, 5:46pm
#1
How can I arrange a list according to its id?
for example I have the list of all categories with their identification. if I click on the category with the id 1
You would have to access the list of all products and only obtain the products with the same id that would be 1
and this is how the list created in the app would look like.
Basically I want to put together a list with all the products that have the same id.
Please Help.
For the first query use this extn,
[ListAddon] ListAddon Extension
This extension allows for doing more things with App Inventor Lists. I made this extension with Kodular IDE.
Current version: 1
Release date: 2019-04-21T21:00:00Z (UTC)
Required permissions: none
Min API required: N/A
I decided the build this extension because I saw we can actually do more things with YailList (a Java object which used in App Inventor for lists.) So I created additional blocks for the built-in list blocks.
Blocks
[image]
…
Bubble sort the ID, then by using index is in the list you can order the categories as per ID
Then by using this method, you can sort the products as per the category id choosen
iamwsumit
(Sumit Kumar)
September 9, 2021, 1:19am
#3
You can fetch the column with filter with this extension… You don’t need to filter the data in app as Airtable already provide filters.
V2 Update 2020/12/24
fix bug of “can not update value with space”, now in the formula, use " and " to quote the value with space.
add perperty of FetchIdAndTime. if set to true, in the SelectFinished event you will get ‘id’ and ‘createdTime’ for each record.
[2020-12-24_200204]
add method ‘UpdateById’ and ‘DeleteById’ for update or delete one record, which is faster than by filter.[2020-12-24_200214]
v1:
Write a short description
Why another extension about Airtable?Because this one is di…
1 Like
team_duarte
(Vaiper watafai)
September 10, 2021, 6:48am
#4
thank you very much i will try
system
(system)
Closed
December 12, 2022, 5:52pm
#5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.