Adding to my table works fine. For the first 100 rows added, calling pick will not only pick the row but when I close and reopen the app, the row remains selected. Also, the nice benefit (that I’m really looking for), is it scrolls that row into view (I’m really trying to solve scrolling to the bottom of the table… to the most recent entry).
Now, after 100 rows, when I pick the row, it will only work if the app is open. If I close and reopen the app, the row is no longer selected. This reproduces in the latest release of iOS and Android apps.
For assistance it’s expected that you paste a formatted, with backticks, copy of the code / sketch / firmware / program that you are flashing to your hardware.
It also helps if you provide details of the hardware and the server (Blynk’s cloud or your own local server).
Unfortunately, I’m a bit over my head. I am using OpenGarage so I think it’s Blynk local but I’m not sure how to find that out.
The code does not call pick. I’m doing that separately via a REST Api call in response to an IFTTT notification.
Are you saying this is not a standard bug in the table widget? I don’t understand how the app matters here. From my understanding, it’s just pushing values to Blynk.
For pick to work, I use the id of the row (despite the documentation calling for the index).
Repro:
I open the Blynk app so I’m looking at the table.
I add a row with id 300 (using REST API)
I then call pick (again, using REST API)
ex. http://blynk-cloud.com/<my token>/update/V5?value=pick&value=300
I see the row picked.
If I called the following to select the 3rd row, nothing happens http://blynk-cloud.com/<my token>/update/V5?value=pick&value=2
Is there a simple way to know if the data for OpenGarage is stored on Blynk cloud and when this update gets pushed to it, then the fix will be automatic, vs. a need to push an update to OpenGarage? Also, how will I know when the update is available?
Back to my original question, when I pick a row (by Id) and that id is over 100, I can see it pick the row when the app is open but as soon as I close and reopen the app, the row is no longer picked. Is this related to the original bug and fixed when the code gets pushed?