I want to represent my list as follows using a datatable in primefaces:
+----------+------------+-----------+
|Country | Name | Age |
+----------+------------+-----------+
| | xxxxx | 25 |
| +------------+-----------+
| A | yyyyy | 22 |
| +------------+-----------+
| | zzzz |...
+----------+------------+
| | |..
....
I have a List:
List<MyObject>
MyObject has following attributes:
Country
Name
Age