dataTables组件的单元格怎么添加边框

2025-04-14 02:40:46
推荐回答(1个)
回答1:

主要是通过jquery的方式获取到每个单元格,然后写css方法:
table.dataTable, .table>tbody>tr>td, .table>thead:first-child>tr:first-child>th{
border:solid 1px ;

}