View source: R/table_elements.R
tooltip | R Documentation |
Apply a tooltip to cells.
tooltip(data, number_fmt = NULL)
data |
Null. |
number_fmt |
Optionally format numbers using formats from the scales package. Default is NULL. |
a function that applies a tooltip to a reactable table.
## Not run: data <- iris[10:29, ] ## Apply a tooltip to color_scales() reactable(data, columns = list( Petal.Length = colDef( cell = tooltip(), style = color_scales(data)) )) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.