diff --git a/docker/data/storage/notebooks/DEMO.md b/docker/data/storage/notebooks/DEMO.md index a41b10703..6e8452aed 100644 --- a/docker/data/storage/notebooks/DEMO.md +++ b/docker/data/storage/notebooks/DEMO.md @@ -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"), diff --git a/plugins/ui/examples/README.md b/plugins/ui/examples/README.md index d464639f4..958477489 100644 --- a/plugins/ui/examples/README.md +++ b/plugins/ui/examples/README.md @@ -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"),