-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hello,
I can't work out a way to align cells vertically (i.e. the contents in the middle) when other columns contain entries that span multiple lines. I've tried, colDef, CSS, html within the cells, everything. It all seems to work within each line of the cell and not across the full cell. If that makes sense? Compare the two results below (ignore horizontal alignment), hopefully it makes more sense:
test_tbl <- tibble::tibble(a = c("really really really really really really long entry"), b = rep("short"))
library(reactable)
reactable(test_tbl,
columns = list(a = colDef(width = 200), a = colDef(width = 200)))library(DT)
datatable(test_tbl,
options = list(columnDefs = list(list(width = '200px', targets = c(1, 2)))))Created on 2021-04-10 by the reprex package (v2.0.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request

