I saved in tinyDB some elements (more than 10 elements), i want to remove selected elements in tinydb list, is there any way
File:
deleteTinydb.aia (82.1 KB)
Screen1
Screen2
I saved in tinyDB some elements (more than 10 elements), i want to remove selected elements in tinydb list, is there any way
File:
deleteTinydb.aia (82.1 KB)
Screen1
@HaAnh_DC Do this when delete button is clicked
And Here is full block that will Also refresh the list view
I want to delete element at Screen 2
try this,
Updated:
But selected item will not be removed from the listview.
(since the items are retains in the listview we have to alert the user next time if they try to remove already removed item.)
is there any way to reload listview?
thats why i asked… wait
tyr this,
Once the user selects, item will be removed from listview as well as from tinyDB
Thank you: dora_paz and Still-learning helped me enthusiastically and gave me a solution.
Thank so much!
thank you. If you want to delete instantly use my procedure. If you want to delete the item by a button, then follow dora mam procedure. Both will work. You can take as per your situation.
Wait I am also doing this wait for 5 minutes i will give aia
Here is Aia @HaAnh_DC i have done it
deleteTinydb.aia (82.6 KB)
and also a video how this is working
thank you so much! it’s very helpful
if this worked then you can mark solution
You are setting listview element to global variable and that is the reason you think it works, if you refresh screen you will see that data isn’t removed fron tinydb. In video I delete first item from list and when screen refreshed it is there