Replies: 1 comment 3 replies
-
In your code, the following block only runs once, so the value is not auto-upadted with changes in your dictionary.
Also, note that Here is a sample code snippet to show how to use ##sample code
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! How to update cell values in a table created by loop, based on button onclick by user?
I tried demo for pywebio.output.output (https://pywebio.readthedocs.io/en/latest/output.html#other), but I can't create variables for each cell through a loop. In my code, updating the dictionary value does not seem to work too.
I want the answer review (i.e. is Question 1 answer correct/wrong) to show up under "Review" in the table, not at the bottom as shown:
My code (removed imports and Flask stuff):
Beta Was this translation helpful? Give feedback.
All reactions