diff --git a/packages/nc-gui/components/nc/Pagination.vue b/packages/nc-gui/components/nc/Pagination.vue
index dbaa822d56..1d17e4dc1c 100644
--- a/packages/nc-gui/components/nc/Pagination.vue
+++ b/packages/nc-gui/components/nc/Pagination.vue
@@ -24,17 +24,59 @@ const changePage = ({ increase }: { increase: boolean }) => {
current.value = current.value - 1
}
}
+
+const goToLastPage = () => {
+ current.value = totalPages.value
+}
+
+const goToFirstPage = () => {
+ current.value = 1
+}
diff --git a/packages/nc-gui/components/smartsheet/Pagination.vue b/packages/nc-gui/components/smartsheet/Pagination.vue
index 9715b322f3..62e7d7cc33 100644
--- a/packages/nc-gui/components/smartsheet/Pagination.vue
+++ b/packages/nc-gui/components/smartsheet/Pagination.vue
@@ -60,7 +60,7 @@ const isRTLLanguage = computed(() => isRtlLang(locale.value as keyof typeof Lang