Skip to content

DT 0.27

Compare
Choose a tag to compare
@yihui yihui released this 17 Jan 21:17
· 48 commits to main since this release
  • dataTableOutput() gains a new fill parameter. When TRUE (the default), the widget's container element is allowed to grow/shrink to fit it's parent container so long as that parent is opinionated about its height and has been marked with htmltools::bindFillRole(x, container = TRUE). (#2198)

    • The primary motivation for this is to allow DT to grow/shrink inside bslib::card_body_fill(). When doing so, you'll also want to set fillContainer = TRUE in datatable().
  • Bug fixed: when editing a table, it was impossible to switch from an empty cell to 0 and vice-versa (thanks, @RozennGZ #1038, @stla #1039).

  • When a datatable() is created outside a Shiny app, the selection argument won't work (thanks, @bartekch, #1043).

  • doGloblSearch() now works correctly when the input data frame is a tibble (@mikmart, #1044).