Skip to content

Fix unwanted pagination controls #1642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Conversation

rich-iannone
Copy link
Member

When not using pagination in interactive tables as in:

library(gt)

gt(iris) |> 
    opt_interactive(use_pagination = FALSE)

The output would show disabled controls for pagination. This is undesired and the fix here ensure that if use_pagination is FALSE we don't get any pages or pagination controls.

Fixes: #1542

@rich-iannone rich-iannone marked this pull request as ready for review April 27, 2024 15:19
@rich-iannone rich-iannone merged commit b236332 into master Apr 27, 2024
12 checks passed
@rich-iannone rich-iannone deleted the fix-unwanted-pagination-controls branch April 27, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interactive - remove pagination display completely
1 participant