diff --git a/docs/components/table.md b/docs/components/table.md index 1e0abcdb4..df728a003 100644 --- a/docs/components/table.md +++ b/docs/components/table.md @@ -19,6 +19,7 @@ The table component requires a dictionary with the following structure: def dashboard_callback(request): return { "table_data": { + "collapsible": True, "headers": ["col 1", "col 2"], "rows": [ ["a", "b"], @@ -50,8 +51,8 @@ data = { { "cols": ["c", "d"], # Cols in row "table": { - "headers": ["col2", "col3"] - "rows" [ + "headers": ["col2", "col3"], + "rows": [ ["g", "h"] ] } diff --git a/src/unfold/templates/unfold/components/table.html b/src/unfold/templates/unfold/components/table.html index f2a99fd68..297df00dd 100644 --- a/src/unfold/templates/unfold/components/table.html +++ b/src/unfold/templates/unfold/components/table.html @@ -13,10 +13,6 @@