Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Datatable print data  RSS feed

 
Sophie
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a dynamic table with the following JSF code :



Actually when the big datatable have more of one element inside the list of result, I obtain the following schema on the screen:
row 1 column 1
row 2 column 1
row 3 column 1
.......

I would like obtain this schema:
row 1 column 1 row 1 column 2 row 1 column 3 ......

Is it possible to do that?

Here the code of the backing bean for create the list :


Thanks for your help
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The h:dataTable renders a table. Use Tomahawk's t:dataList instead. It renders nothing (by default). If you want a fixed amount of columns, use t:dataList in a h:panelGrid.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!