Remove all borders on a specific datatable

后端 未结 2 1174
日久生厌
日久生厌 2021-02-05 23:35

I need to hide all borders of one datatable, not all, using PrimeFaces. I have tried many things and no one has worked. Does anyone know how to do it?

I have applied the

2条回答
  •  别跟我提以往
    2021-02-06 00:26

    Assuming a PrimeFaces 3.5 data table which is marked up as follows,

    
    

    then this style should do:

    .ui-datatable.borderless thead th,
    .ui-datatable.borderless tbody,
    .ui-datatable.borderless tbody tr,
    .ui-datatable.borderless tbody td {
        border-style: none;
    }
    

提交回复
热议问题