diff --git a/docs/app/components/content/examples/table/TableTreeDataExample.vue b/docs/app/components/content/examples/table/TableTreeDataExample.vue new file mode 100644 index 0000000000..4050a03970 --- /dev/null +++ b/docs/app/components/content/examples/table/TableTreeDataExample.vue @@ -0,0 +1,159 @@ + + + diff --git a/docs/content/3.components/table.md b/docs/content/3.components/table.md index 3f40b22086..92bbd7e877 100644 --- a/docs/content/3.components/table.md +++ b/docs/content/3.components/table.md @@ -580,6 +580,19 @@ class: '!p-0' --- :: +### With tree data + +You can use `getSubRows` props to display tree data + +::component-example +--- +prettier: true +collapse: true +name: 'table-tree-data-example' +class: '!p-0' +--- +:: + ### With slots You can use slots to customize the header and data cells of the table.