glin / reactable

Interactive data tables for R
https://glin.github.io/reactable
Other
627 stars 80 forks source link

defaultColDef show property does not work properly #204

Closed volfi closed 2 years ago

volfi commented 2 years ago

When I set show to False in defaultColDef columns always remain hidden even if for specific ones I define the show property as True.

reactable(mtcars,
          defaultColDef = colDef(show = F),
          columns = list(
            mpg = colDef(show =T)
          ))
glin commented 2 years ago

Sorry about that, this was a bug that's now fixed in the dev version (0.2.3.9000):

Setting show = FALSE as a default value in defaultColDef() now works (csgillespie, #105).

You can work around this for now by installing the dev version from GitHub.