https://datatables.net/reference/option/columns.className

通过

属性设置:

例如:

js:

columns: [
{
data: 'patrol_record_id',
visible: false
},
{
data: 'org_name',
width: "20%"
},
{
data: {},
name: 'photo',
className : 'myown'
}
]

html:
<style>

.myown{
text-align: right;
}
</style>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2021-06-08
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案