docs(TableExampleAdvanced): improve sorting with v-model:sort and sort-mode props

Resolves #1177
This commit is contained in:
Benjamin Canac
2024-01-09 15:13:29 +01:00
parent 56e0c9a9a0
commit e48b61b5df
2 changed files with 11 additions and 2 deletions

View File

@@ -6,6 +6,10 @@ links:
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/data/Table.vue
---
::callout{icon="i-heroicons-puzzle-piece" to="/getting-started/examples#table"}
Check out an example of a Table with advanced features like sorting, pagination, search, etc.
::
## Usage
Use the `rows` prop to set the data to display in the table. By default, the table will display all the fields of the rows.