Css r数据表(DT)边框宽度/颜色
给定桌子Css r数据表(DT)边框宽度/颜色,css,r,datatables,dt,Css,R,Datatables,Dt,给定桌子 library(DT) datatable( iris, style = "default", filter = "top", class = "hover stripe compact" ) 我可以使用以下css调整页脚边框 table.dataTable.no-footer { border-bottom: 1px solid #ddd; } 然而,我似乎无法理解如何更改列名下的边框,也无法更改正文第一行上的边框。如何做到这一点呢?以下css做到了这一
library(DT)
datatable(
iris,
style = "default",
filter = "top",
class = "hover stripe compact"
)
我可以使用以下css调整页脚边框
table.dataTable.no-footer {
border-bottom: 1px solid #ddd;
}
然而,我似乎无法理解如何更改列名下的边框,也无法更改正文第一行上的边框。如何做到这一点呢?以下css做到了这一点:
table.dataTable thead th, table.dataTable thead td {
border-bottom: 1px solid #ddd;
}