Skip to content
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

Provide a range of page display options in reactable function #39

Closed
wants to merge 4 commits into from

Conversation

shgeng1216
Copy link
Collaborator

Provide a range of page display options in reactable function. Automate the process depends on the records.

@shgeng1216 shgeng1216 requested a review from wangben718 April 8, 2024 17:30
R/ae_forestly.R Outdated
@@ -182,6 +182,9 @@ ae_forestly <- function(outdata, filter = c("prop", "n"), width = 1400) {
highlight = TRUE
)
},

pageSizeOptions = if(nrow(outdata$n)<=100) c(10,25,50,100) else c(10, 25, 50, 100, if(nrow(outdata$n)<=200) 200 else c(200, ceiling(nrow(outdata$n)/100)*100)),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of guessing what user want, could we just leverage ... in reactable to allowed users customize features when needed.

Shuo Geng added 3 commits May 7, 2024 15:17
…rol the max page number displayed in the interactive forest table
…rol the max page number displayed in the interactive forest table

Remove comments out section
…rol the max page number displayed in the interactive forest table
@nanxstats
Copy link
Collaborator

Is this PR still being worked on?

@shgeng1216 shgeng1216 closed this May 16, 2024
@shgeng1216 shgeng1216 deleted the display-AE-in-one-Page branch May 16, 2024 20:59
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.

3 participants