You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adminforth/documentation/docs/tutorial/03-Customization/13-standardPagesTuning.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -542,6 +542,26 @@ And `edit` action will be available as quick action:
542
542
543
543
544
544
545
+
## Show
546
+
547
+
### Next record button
548
+
549
+
By default, when a user opens a record from the list view, a **Next** button appears on the show page. It allows navigating through records one by one, respecting the current filters and sorting applied in the list. When the user reaches the last record on the current page, AdminForth automatically fetches the next page and continues navigation seamlessly.
550
+
551
+
To disable the Next button for a resource, set `showNextButton` to `false`:
552
+
553
+
```typescript title="./resources/apartments.ts"
554
+
exportdefault {
555
+
resourceId: 'aparts',
556
+
options: {
557
+
//diff-add
558
+
showNextButton: false,
559
+
}
560
+
}
561
+
```
562
+
563
+
> ☝️ The Next button is only shown when the user navigates to the show page from the list view. Opening a record directly via URL will not display the button.
0 commit comments