reactable
reactable copied to clipboard
With `groupBy`, I was wondering if row names could be placed in the latest group instead of taking a full column.
library(reactable)
# https://github.com/glin/reactable/issues/94
mtcars |>
reactable(
groupBy = c("cyl", "vs"),
defaultExpanded = TRUE,
columns = list(
cyl = colDef(name = "", grouped = JS("
function(cellInfo) {
return cellInfo.value
}"))
)
)
Like this, moved under the last group?