diff --git a/marimo/_plugins/ui/_impl/table.py b/marimo/_plugins/ui/_impl/table.py index 89fac1360ee..8d00c85110c 100644 --- a/marimo/_plugins/ui/_impl/table.py +++ b/marimo/_plugins/ui/_impl/table.py @@ -563,8 +563,8 @@ def __init__( ) app_mode = get_mode() - # These panels are not as useful in non-edit mode and require an external dependency - show_column_explorer = app_mode == "edit" + # Some panels are not as useful in non-edit mode and require an external dependency + show_column_explorer = app_mode == "edit" or app_mode == "run" show_chart_builder = app_mode == "edit" show_page_size_selector = True diff --git a/tests/_plugins/ui/_impl/test_table.py b/tests/_plugins/ui/_impl/test_table.py index 483b406ebda..27f169a90a4 100644 --- a/tests/_plugins/ui/_impl/test_table.py +++ b/tests/_plugins/ui/_impl/test_table.py @@ -2162,7 +2162,7 @@ def test_show_toggles_app_mode(): with patch("marimo._plugins.ui._impl.table.get_mode", return_value="run"): table_default = ui.table(data) - assert table_default._component_args["show-column-explorer"] is False + assert table_default._component_args["show-column-explorer"] is True assert table_default._component_args["show-chart-builder"] is False