How to set width of a p:column in a p:dataTable in PrimeFaces 3.0?

前端 未结 8 1092
你的背包
你的背包 2020-12-13 17:51

I\'m using PrimeFaces 3.0-M3 and I have a with two columns in it. I want the first column to be fixed at a width of 20px. The other column c

相关标签:
8条回答
  • 2020-12-13 18:52

    I just did the following (in V 3.5) and it worked like a charm:

    <p:column headerText="name" width="20px"/>
    
    0 讨论(0)
  • 2020-12-13 18:53

    can you try

    <p:column width="20">
    
    0 讨论(0)
提交回复
热议问题