View table using reactable
Usage
rt_reactable(
x,
datatypes = NULL,
lightsout = TRUE,
bg = "#121212",
pagination = TRUE,
searchable = TRUE,
bordered = TRUE,
...
)
Arguments
- x
data.frame, data.table or similar
- datatypes
Character vector: Data types of columns in x, e.g.
c("numeric", "factor", "character")
- lightsout
Logical: If TRUE, use dark theme.
- bg
Background color.
- pagination
Logical: If TRUE, paginate table.
- searchable
Logical: If TRUE, add search box.
- bordered
Logical: If TRUE, add border.
- ...
Additional arguments passed to
reactable::reactable