Set p:dataTable p:column width
I always use
<p:dataTable ........ tableStyle="width:auto">
And does what I think you expect your datatable to do.
If you want the table width remain 100%, use
tableStyle="table-layout: auto;"
I always use
<p:dataTable ........ tableStyle="width:auto">
And does what I think you expect your datatable to do.
If you want the table width remain 100%, use
tableStyle="table-layout: auto;"