我正在我闪亮的应用程序中渲染一个表格。表是用 DT 库生成的。这是代码:
output$table <- DT::renderDataTable(DT::datatable({# Displaying table in section tab for principal and director
if (user_logged$Designation=='director'|user_logged$Designation=='principal'){
data <- teacher_info[teacher_info$Section == input$sections,]
data <- data%>%
select(-c(Section))
}
这是输出: Table 正如您所见,由于背景颜色,列标题和其他标题变得模糊。我想更改这些文本的颜色,如果可能的话,我还想更改表格的背景颜色。