Hi all,
Is there a way to change the column header font to White?. below is the sample code to render the DTtable in shiny
output$tab <- DT::renderDT(DT::datatable(tab1, rownames = FALSE, escape = FALSE, extensions = list("Scroller"),
class = "compact nowrap stripe hover",
options = list(dom = 't', ordering = F))%>%
formatStyle(columns=colnames(tab1),
backgroundColor = '#222222', color = "white")%>%
formatStyle(columns = colnames(tab1), fontSize = '85%'))