File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Sub-header in datatable column" Watch "Sub-header in datatable column" New topic
Author

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.

Thanks
Ansar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sub-header in datatable column
 
Similar Threads
Scroll bar with data table
Display Tag
Question on how to sort tomahawk datatable
DataModel in Jsf
Adding a Datatable as a row in another Datatable