Replies: 1 comment 6 replies
-
@mturoci probably worth adding to doc string that @shamilh2o this is expected behavior - the app is not refreshing per se, it is sending a value back to the If you want users to pick a single row, double clicking the row is probably okay, yes? And if you want them to choose more than one row then you can just set Some repro code for anyone that wants to look: from h2o_wave import main, app, Q, ui
@app('/')
async def serve(q: Q):
print(q.args)
if not q.client.initialized:
q.page["table_card"] = ui.form_card(
box="1 1 -1 -1",
items=[
ui.table(
name="table_test",
columns=[ui.table_column(x, x) for x in ["test1", "test2"]],
rows=[ui.table_row(str(i), ["hey", "ho"]) for i in range(10)],
height="600px",
)
]
)
q.client.initialized = True
await q.page.save() |
Beta Was this translation helpful? Give feedback.
-
Hey Team,
When I double-click text on the table in order to select it, the table refreshes and then I lose my search filter.
Is this the normal behaviour? Any suggestion to overcome this and stop refreshing the page when I double click text on the table?
Thank you.
cc: @mturoci
Beta Was this translation helpful? Give feedback.
All reactions