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 Java 8 in Action this week in the Java 8 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: 17249
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying Datatable in adjacent manner
 
Similar Threads
calling action method on data table row click
Showing a List of Maps in a dataTable
can I let JSF datatable only display last one record ?
how to retrieve a particular value from datatable
Send Ajax request to refresh dataTable