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

Add fill argument to dataTableOutput() #1027

Merged
merged 5 commits into from
Oct 26, 2022
Merged

Add fill argument to dataTableOutput() #1027

merged 5 commits into from
Oct 26, 2022

Conversation

cpsievert
Copy link
Contributor

@cpsievert cpsievert commented Oct 26, 2022

This PR reverts #1026 and instead adds a fill argument to dataTableOutput() (which gets passed to htmlwidgets::shinyWidgetOutput()).

Since #1026, ramnathv/htmlwidgets#442 got updated with a generally better way to support fill behavior htmlwidgets (it won't require changing the function signature to height = NULL), and now, hopefully more obvious how to opt-out of that behavior if it happens to be undesirable (fill = FALSE).

Happy to provide more context if you'd like.

Copy link
Member

@yihui yihui left a comment

Choose a reason for hiding this comment

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

Sounds good. Thanks!

NEWS.md Show resolved Hide resolved
R/shiny.R Show resolved Hide resolved
cpsievert and others added 3 commits October 26, 2022 11:47
@yihui yihui merged commit ca57655 into main Oct 26, 2022
@yihui yihui deleted the fill branch October 26, 2022 19:02
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.

2 participants