【发布时间】:2021-09-11 09:36:06
【问题描述】:
我正在我闪亮的应用程序中渲染一个表格。表是用 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 正如您所看到的,由于背景颜色,列标题和其他标题变得晦涩难懂。我想更改这些文本的颜色,如果可能的话,我还想更改表格的背景颜色。
【问题讨论】: