aspose file tools*
The moose likes JSF and the fly likes Displaying Datatable in adjacent manner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Displaying Datatable in adjacent manner" Watch "Displaying Datatable in adjacent manner" New topic
Author

Displaying Datatable in adjacent manner

Ravi Sankar
Ranch Hand

Joined: Aug 17, 2007
Posts: 49
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

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Displaying Datatable in adjacent manner