DT 0.27
-
dataTableOutput()
gains a newfill
parameter. WhenTRUE
(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 withhtmltools::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 setfillContainer = TRUE
indatatable()
.
- The primary motivation for this is to allow DT to grow/shrink inside
-
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, theselection
argument won't work (thanks, @bartekch, #1043). -
doGloblSearch()
now works correctly when the input data frame is a tibble (@mikmart, #1044).