Hi there,
I would like to use the package reactable
and set the digits property "globally" for all columns of my table, like I can in knitr
with kable(data, digits = 3)
.
I can us the column
parameter and set each single column of my table with colDef
as I found in the example section of the manual, but I suppose there is some faster and more elegant way (maybe with sapply
?) but I don't see it... can anybody help?
Thanks in advance,
Martin