Open kirer opened 2 years ago
When you create the table using DataTable you specify the on_data= parameter to the 'data' option. This specifies a function that will get called when the user presses the any of the pagination options for a table. If you want regular updates you will need to set a timer on the page and refresh/update the table widget each time the timer expires.
You can also see an example in the adminui/python/example_table.py in the sources or you can check the online docs for an explanation: https://python-adminui.readthedocs.io/en/latest/table.html
How refresh table