Skip to content

Commit

Permalink
Fix on_row_double_press deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Mar 12, 2024
1 parent 9a44ae4 commit d7e2677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/data/storage/notebooks/DEMO.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def stock_table_input(source, default_sym="", default_exchange=""):
return [
ui.panel(
# Add a callback for when user double clicks a row in the table
ui.table(t1).on_row_double_press(handle_row_double_press),
ui.table(t1, on_row_double_press=handle_row_double_press),
title="Stock Row Press",
),
ui.panel(t2, title="Stock Filtered Table"),
Expand Down
2 changes: 1 addition & 1 deletion plugins/ui/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def stock_table_input(source, default_sym="", default_exchange=""):

return [
ui.panel(
ui.table(t1).on_row_double_press(handle_row_double_press),
ui.table(t1, on_row_double_press=handle_row_double_press),
title="Stock Table Input",
),
ui.panel(t2, title="Stock Filtered Table"),
Expand Down

0 comments on commit d7e2677

Please sign in to comment.