-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I wish to vertically center the text in my "Letter" column, which is tall because of the content in the adjacent "Numbers" column. I require the horizontal alignment of the "Letter" column to remain left-justified.
How do I do this with a Reactable table?
library(reactable)
x <- as.character(1:100) |>
paste0(collapse = ", ")
df <- tibble(
Letter = LETTERS[1:3],
Numbers = rep(x, 3)
)
reactable(df,
compact = TRUE,
fullWidth = FALSE,
columns = list(
Letter = colDef(
align = "center"
),
Numbers = colDef(
width = 400
)
)
)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request