diff --git a/apps/showcase/doc/datatable/pagination/PaginationHeadlessDoc.vue b/apps/showcase/doc/datatable/pagination/PaginationHeadlessDoc.vue new file mode 100644 index 000000000..c815efe72 --- /dev/null +++ b/apps/showcase/doc/datatable/pagination/PaginationHeadlessDoc.vue @@ -0,0 +1,155 @@ + + + Headless mode on Pagination is enabled by adding using paginatorcontainer. + + + + + + + + + + + + + Showing {{ first }} to {{ last }} of {{ totalRecords }} + Page {{ page + 1 }} of {{ pageCount }} + + + + + + + + + + + diff --git a/apps/showcase/pages/datatable/index.vue b/apps/showcase/pages/datatable/index.vue index ff4f75433..571b55922 100755 --- a/apps/showcase/pages/datatable/index.vue +++ b/apps/showcase/pages/datatable/index.vue @@ -35,6 +35,7 @@ import RowEditDoc from '@/doc/datatable/edit/RowEditDoc.vue'; import AdvancedFilterDoc from '@/doc/datatable/filter/AdvancedFilterDoc.vue'; import BasicFilterDoc from '@/doc/datatable/filter/BasicFilterDoc.vue'; import PaginationBasicDoc from '@/doc/datatable/pagination/PaginationBasicDoc.vue'; +import PaginationHeadlessDoc from '@/doc/datatable/pagination/PaginationHeadlessDoc.vue'; import PaginationTemplateDoc from '@/doc/datatable/pagination/PaginationTemplateDoc.vue'; import PTComponent from '@/doc/datatable/pt/index.vue'; import ExpandableRowGroupDoc from '@/doc/datatable/rowgroup/ExpandableRowGroupDoc.vue'; @@ -113,6 +114,11 @@ export default { id: 'paginator_template', label: 'Template', component: PaginationTemplateDoc + }, + { + id: 'paginator_headless', + label: 'Headless', + component: PaginationHeadlessDoc } ] },
Headless mode on Pagination is enabled by adding using paginatorcontainer.