How to represent nested data in a Primefaces datatable?

后端 未结 5 2085
天命终不由人
天命终不由人 2020-12-09 12:58

Here is my model :

User.java

public class User {
   //...

   public List getFriends() {
      // ...
   }
}
         


        
5条回答
  •  独厮守ぢ
    2020-12-09 13:47

    Just use another data table inside your column :)

    
        
            
                
            
        
    
    

    This is how it looks on my localhost

    enter image description here

提交回复
热议问题