diff --git a/docs/src/pages/components/DataTable.svx b/docs/src/pages/components/DataTable.svx index 41ecd931..2afa1b12 100644 --- a/docs/src/pages/components/DataTable.svx +++ b/docs/src/pages/components/DataTable.svx @@ -65,6 +65,63 @@ The `DataTable` is keyed for both rendering and sorting. You must define a "key" ]}" /> +### Static width + +Set `useStaticWidth` to `true` to render the table with a width of "auto" instead of "100%". + + + ### Slotted cells Use the `"cell"` slot to control the display value per table cell. Individual row and cell data are provided through the `let:row` and `let:cell` directives.