Skip to content

Commit b644093

Browse files
committed
Add example of force showing pagination info when pagination is disabled
1 parent 93ef7e7 commit b644093

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vignettes/examples.Rmd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,18 @@ reactable(iris[1:5, ], showPagination = TRUE)
290290

291291
### No pagination
292292

293-
Tables are paginated by default, but you can disable pagination by setting `pagination` to `FALSE`:
293+
Tables are paginated by default, but you can disable pagination by setting `pagination = FALSE`:
294294

295295
```{r}
296296
reactable(iris[1:20, ], pagination = FALSE, highlight = TRUE, height = 250)
297297
```
298298

299+
If you want to keep the row count and pagination controls visible even when pagination is disabled, set `showPagination = TRUE`:
300+
301+
```r
302+
reactable(iris[1:20, ], pagination = FALSE, showPagination = TRUE, highlight = TRUE, height = 250)
303+
```
304+
299305
::: {.callout-tip}
300306
**Tip:** Disabling pagination is not recommended for large tables with many
301307
interactive elements (such as links, expand buttons, or selection checkboxes),

0 commit comments

Comments
 (0)