I have a dataviewer list.
Clicking on an item, I modify some values of a label in that Item.
Now I would like to scan every items to search if the label has a certain value and do something if so.
Unfortunatelly It’s not clear to me how to do it.
Are every single element of a dataviewer list rows?
This is what I’m doing but i get a single iteration for a 3 items list.
Are you saying that you’re changing the displayed value in the dataviewer list without changing the attached database? You probably shouldn’t do that. @codeswept’s blocks should work if the data is in the source table.
Can you show the blocks you’re using to apply the value to the item based on user interaction?
I have a list of rows, In every row there is a Label taking it’s text from a DB and a flag to select some specific row, then I should take the selected rows to something.
The flag is not taken from DB but is applyied by user when clicking.
No sense to have it stored in the DB. I can do it, but it has no sense.
Clicking the button I would like to change the button background color and the text of the button.
In my past version I cloned row to have a list and all works, but it was slow to crate and fill rows from DB so I’m looking for a faster version and I’m trying with a custom dataviewer list.
With Dataviewer list It seems not possible to change button properties
This code Cause NO EFFECT
Similar problem even using a switch. It doesn’t trigger the item click event and it switch value of ALL switches at a time.
However, maybe it’s better to discuss it on teh specific topic
For now, it seems there is no way to scan items of a list out of a Data Source scanning and using a boolean object so I MUST insert the “boolean” value in the data source table and display it as a label.