How to remove border from specific PrimeFaces p:panelGrid?

前端 未结 15 1774
再見小時候
再見小時候 2020-12-02 15:27

I have difficulty in removing border from a specific PrimeFaces .


    &l         


        
15条回答
  •  死守一世寂寞
    2020-12-02 15:40

    Nowdays, Primefaces 5.x have a attribute in panelGrid named "columnClasses".

    .no-border {
        border-style: hidden !important ; /* or none */
    }
    

    So, to a panelGrid with 2 columns, repeat two times the css class.

    
    

    To other elements, the ugly " !important " is not necessary, but to the border just with it work fine to me.

提交回复
热议问题