Reactable set digits "gobally"

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,


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.