In p:dataTable, if we need to add List of values (List<String>) we can use another p:dataTable oppose to p:subTable. Although this workaround is worked, we need to do some adjustments to add scroll bars to the sub table. Below is the prime face source.
Check the div tags and styles use to get the scroll bar. In this case we didn't use prime face scrollerble property.
Source:
Output:
No comments:
Post a Comment