Any method for updating an entire table? #203
-
The table object does not seem to have a method that would allow replacing its entire contents with another set of data. If data filtering/manipulation is done using an underlying dataframe, and we want the new result to be shown in the same Nicegui table, are there methods or properties, or in general is there a straightforward way of loading say a Pandas dataframe on to a table, to refresh the table's contents (i.e., in response to client-side inputs)? Thanks for any suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The idea is to modify |
Beta Was this translation helpful? Give feedback.
-
We just released v1.0.8 which fixes updating the table data. |
Beta Was this translation helpful? Give feedback.
The idea is to modify
table.options
as you wish and calltable.update()
to communicate the changes to the client. As of version 1.0.7, this does not work in every case (see #204). But this should be fixed in the next release.