• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying Datatable in adjacent manner

 
Ravi Sankar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement like to display the datatable in a calendar window. I have to display the datas in seven columns (Days) and maximum of six rows (Weeks). Can anyone help on this?

Regards
Ravi
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is all in the structure of the data and not really in the JSF part, I mean you could create a custom JSF Component that can figure it all out with any kind of special structure for the data.

But lets say you a List of Week objects and in a Week object there are 7 Day attributes. So the JSF datatable takes the list of weeks and displays each day in a different column.

Why does this sound like a Homework assignment?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic