diff --git a/apps/showcase/doc/treetable/pagination/PaginationHeadlessDoc.vue b/apps/showcase/doc/treetable/pagination/PaginationHeadlessDoc.vue new file mode 100644 index 000000000..cef671a7c --- /dev/null +++ b/apps/showcase/doc/treetable/pagination/PaginationHeadlessDoc.vue @@ -0,0 +1,197 @@ + + + Pagination is enabled by adding paginator property and defining rows per page. + + + + + + + + + + + + Showing {{ first }} to {{ last }} of {{ totalRecords }} + Page {{ page + 1 }} of {{ pageCount }} + + + + + + + + + + + diff --git a/apps/showcase/pages/treetable/index.vue b/apps/showcase/pages/treetable/index.vue index 660055f0c..f1cf9557f 100755 --- a/apps/showcase/pages/treetable/index.vue +++ b/apps/showcase/pages/treetable/index.vue @@ -23,6 +23,7 @@ import LazyLoadDoc from '@/doc/treetable/LazyLoadDoc.vue'; import SizeDoc from '@/doc/treetable/SizeDoc.vue'; import TemplateDoc from '@/doc/treetable/TemplateDoc.vue'; import PaginationBasicDoc from '@/doc/treetable/pagination/PaginationBasicDoc.vue'; +import PaginationHeadlessDoc from '@/doc/treetable/pagination/PaginationHeadlessDoc.vue'; import PaginationTemplateDoc from '@/doc/treetable/pagination/PaginationTemplateDoc.vue'; import PTComponent from '@/doc/treetable/pt/index.vue'; import ExpandModeDoc from '@/doc/treetable/resize/ExpandModeDoc.vue'; @@ -87,6 +88,11 @@ export default { id: 'paginator_template', label: 'Template', component: PaginationTemplateDoc + }, + { + id: 'paginator_headless', + label: 'Headless', + component: PaginationHeadlessDoc } ] },
Pagination is enabled by adding paginator property and defining rows per page.