Why Solara.Dataframe cannot update new data input #255
Unanswered
bobwatcherx
asked this question in
Q&A
Replies: 3 comments
-
Hi @bobwatcherx, This has to do with the fact that import solara
import pandas as pd
@solara.component
def Page():
name = solara.use_reactive("tolol")
list_excel = solara.use_reactive([])
df_component = pd.DataFrame(list_excel.value)
def add_notes():
nonlocal df_component
list_excel.set([*list_excel.value, {'name': name.value}])
print(list_excel.value)
with solara.Column(margin=10):
solara.InputText("input new name",
value=name, continuous_update=True)
solara.Button("add", on_click=add_notes,
icon_name="add")
solara.DataFrame(df_component) |
Beta Was this translation helpful? Give feedback.
0 replies
-
why i canot refresh table dataframe when update data
|
Beta Was this translation helpful? Give feedback.
0 replies
-
here code update why dataframe not updating . and i update text again not click update button . and table will update .
|
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
-
why doesn't the solara dataframe want to be updated when I enter a new data input from the text input
Beta Was this translation helpful? Give feedback.
All reactions