Const
Standalone Pagination Controls component
Provides navigation controls for paginated data with customizable text labels. Includes first page, previous page, next page, last page buttons and page info display. Can be used independently of DataTable for any paginated content.
m(PaginationControls, { pagination: { page: 0, pageSize: 10, total: 100 }, onPaginationChange: (newPagination) => console.log('Page changed:', newPagination), i18n: { showing: 'Showing', to: 'to', of: 'of', entries: 'entries', page: 'Page' }}) Copy
m(PaginationControls, { pagination: { page: 0, pageSize: 10, total: 100 }, onPaginationChange: (newPagination) => console.log('Page changed:', newPagination), i18n: { showing: 'Showing', to: 'to', of: 'of', entries: 'entries', page: 'Page' }})
Standalone Pagination Controls component
Provides navigation controls for paginated data with customizable text labels. Includes first page, previous page, next page, last page buttons and page info display. Can be used independently of DataTable for any paginated content.