I want to change the font size of the entire data table., The default size is too large for what I want to display. I am trying to change the font-size of variable names and column content with formatStyle
as follows
library(DT)
library(magrittr)
iris %>%
datatable() %>%
formatStyle(columns = colnames(.), `font-size` = '25%')
But, what is rendered is the same font size regardless of the changes. Tried different formats for font-size such as 'large, small' '150%, 50%' and '10px,20px,30px'