This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes Sub-header in datatable column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Sub-header in datatable column" Watch "Sub-header in datatable column" New topic

Sub-header in datatable column

ansar basha
Ranch Hand

Joined: Aug 02, 2005
Posts: 34
Hi Guys,

I'm facing problem creating Sub-header in datatable column, something like this.
|main header column |
|sub header-1 | sub header-2 |
|sub data-1 | sub data-2 |
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
One bad solution would be using multiple data tables and use external styles/ divs to manipulate the column / sub column widths.

- Varun
ansar basha
Ranch Hand

Joined: Aug 02, 2005
Posts: 34
Thanks Varun for the suggestion.
What if i have editable table then things get worse,
in that situation it will be very tough to get hook of
full row.
May be we can raise an RFE to extend the datatable to include
this fuctionality.

Other rancher please post your comments if you have resolved
this of problem.

wood burning stoves
subject: Sub-header in datatable column
It's not a secret anymore!