File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes datatable with row and column headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "datatable with row and column headers" Watch "datatable with row and column headers" New topic

datatable with row and column headers

jyothi nalam

Joined: Oct 25, 2006
Posts: 24

I am trying to draw a datatbale with both column and row headers. with a jsf <h:datatable> tag, i am only able to get column headers.
And also is there a way to dyanamically populate this table.

anshul gupta

Joined: Aug 23, 2007
Posts: 11
I am new to JSF but i was also thinking of dynamically poplating table...but seems like it's not possible normally.Try using Toplink.It must work with that.

excuse me...while i kiss the sky.
A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
This may sound stupid...but what is a row header? Is it something like a "Click Here" link at the beginning of each row?
You may want to look at MyFaces component t:datatable which can display dynamic number of columns for a table. h:datatable does not have that feature.
I agree. Here's the link:
subject: datatable with row and column headers
It's not a secret anymore!