Skip to content

DT 0.18

Compare
Choose a tag to compare
@yihui yihui released this 14 Apr 15:16

NEW FEATURES

  • datatable()'s style argument now defaults to 'auto', which resolves to either 'bootstrap' or 'bootstrap4' when a {bslib} theme is relevant. If a {bslib} theme isn't relevant, 'auto' resolves to the old default value of 'default' (thanks, @cpsievert, #852).

  • Add a new function styleRow(). It's useful when you want to apply CSS styles based on Row Indexes (thanks, @s-fleck, #894).

BUG FIXES

  • datatable(data) and datatable(data, fillContainer = TRUE) now work as expected when statically rendered inside flexdashboard::flex_dashboard() (thanks, @cpsievert, #904).