Skip to content

v0.2.0

Compare
Choose a tag to compare
@glin glin released this 29 May 03:16

New features

  • reactable() now supports linked selection and filtering with Crosstalk-compatible
    HTML widgets (#46).
  • reactable() gains a theme argument to customize the default styling of a table.
  • reactable() gains a language argument to customize the language strings in a table
    (#24).
  • reactable() gains a defaultSelected argument to set default selected rows.
  • reactable() gains a defaultExpanded argument to set default expanded rows
    (#23).
  • New updateReactable() function to update the selected rows, expanded rows, or
    current page of a reactable instance in Shiny (#20).
  • New getReactableState() function to get the state of a reactable instance in Shiny
    (#20).
  • colDef() gains a "median" aggregate function to calculate the median of numbers
    (#30).
  • The row selection column can now be customized using ".selection" as the column name
    (#19).
  • In reactable(), the rowClass, rowStyle, and details JavaScript functions
    now receive a rowInfo.selected property indicating whether the row is selected
    (#20).

Breaking changes

  • The selectionId argument in reactable() will be deprecated in a future release.
    Use getReactableState() to get the selected rows of a table in Shiny instead.

Bug fixes

  • General accessibility improvements, particularly for screen reader users.
  • Table searching now works correctly when row selection is enabled.
  • colFormat(date = TRUE) now formats YYYY-MM-DD dates correctly (#38).
  • colFormat(percent = TRUE) now works correctly when viewing tables in IE11.
  • Cell click actions now work for all cells in aggregated rows.
  • Aggregated cells in columns with row details no longer throw an error when clicked.
  • In colDef(), the class and style R functions now handle list-columns correctly.
  • Column headers now truncate long text properly.
  • Footers now display properly in fixed height tables for Safari and Chrome (#41).
  • Dark themes no longer affect text color in RStudio R Notebooks (#21).
  • Checkboxes and radio buttons now align with multi-line text in selectable tables.
  • Text selection now works in column headers.
  • Row striping and highlighting styles no longer affect nested tables.