Apply a tooltip to cells.
Arguments
- data
Null.
- number_fmt
Optionally format numbers using formats from the scales package. Default is NULL.
Examples
if (FALSE) {
data <- iris[10:29, ]
## Apply a tooltip to color_scales()
reactable(data,
columns = list(
Petal.Length = colDef(
cell = tooltip(),
style = color_scales(data))
))
}