Refresh table data on click of button which has been added to the table using the table.add_slot() function #5124
Unanswered
DanielCEvans
asked this question in
Q&A
Replies: 1 comment
-
Hi @DanielCEvans,
|
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Example Code
Description
Within my table element, i would like to have a button within each row. When the button is clicked and the handler function is called, after some business logic and an external api call, i would like to refresh the data so the user immediately sees the update in the table. I have attempted to achieve this functionality by calling the refresh() method on the events.sender object which is the nicegui Table object but this does not appear to be working
NiceGUI Version
2.11.1
Python Version
3.10.12
Browser
Chrome
Operating System
Linux
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions